about summary refs log tree commit diff stats
path: root/hosts/tiamat/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-23 18:30:43 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-23 18:30:43 +0200
commitbb009258411a2894555e4551a9ae151402d2c27e (patch)
tree92a038995df6f62de243690692efe7e85b2391b6 /hosts/tiamat/default.nix
parentbuild(flake): Update (diff)
downloadnixos-config-bb009258411a2894555e4551a9ae151402d2c27e.tar.gz
nixos-config-bb009258411a2894555e4551a9ae151402d2c27e.zip
refactor(hosts/tiamat): Adapt to the new modules for system
Diffstat (limited to 'hosts/tiamat/default.nix')
-rw-r--r--hosts/tiamat/default.nix51
1 files changed, 41 insertions, 10 deletions
diff --git a/hosts/tiamat/default.nix b/hosts/tiamat/default.nix
index c14fa325..4b5cb992 100644
--- a/hosts/tiamat/default.nix
+++ b/hosts/tiamat/default.nix
@@ -1,12 +1,45 @@
-{...}: {
+{
+  config,
+  lib,
+  pkgs,
+  ...
+}: {
   imports = [
-    ./hardware
-    ./networking.nix
-
-    ../../sys
+    ./hardware.nix
   ];
 
   soispha = {
+    boot.enable = true;
+    cleanup.enable = true;
+    documentation.enable = true;
+    fonts = {
+      enable = true;
+      enableEmoji = true;
+    };
+    home-manager.enable = true;
+    impermanence.enable = true;
+
+    networking = {
+      enable = true;
+      hostName = "tiamat";
+    };
+
+    polkit.enable = true;
+    power.enable = true;
+    secrets.enable = true;
+    sound.enable = true;
+    tempfiles.enable = true;
+    users = {
+      enable = true;
+      enableDeprecatedPlugdev = true;
+      hashedPassword = "$y$jFT$qi3wS9njrMl2y55b3NOBI0$j40Qt6AAkMSfZ82KPhqMaUaPztWtPps1wOqaXaF/L.6";
+    };
+    version.enable = true;
+    nixpkgs = {
+      enable = true;
+      systemName = "x86_64-linux";
+    };
+
     adb = {
       enable = true;
       user = "soispha";
@@ -18,14 +51,12 @@
       enable = true;
       keyMap = "us";
     };
-    fs.backup = {
-      enable = true;
+    backup = {
+      enable = false;
       backupDiskUuid = "d1c6e0f6-1837-40fd-bb29-251d5ea0ddb0";
     };
-    users = {
-      hashedPassword = "$y$jFT$qi3wS9njrMl2y55b3NOBI0$j40Qt6AAkMSfZ82KPhqMaUaPztWtPps1wOqaXaF/L.6";
-    };
   };
+  networking.hostName = "tiamat";
 
   system.stateVersion = "23.05";
 }