about summary refs log tree commit diff stats
path: root/hosts/tiamat
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-18 19:33:49 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-18 19:33:49 +0200
commitc0f966510475d8d621f302c1bd70f430e589b838 (patch)
treebac9c5d1dc178003c27c3b0823b4f4a7591df31c /hosts/tiamat
parentrefactor(hosts): Move all unmaintained hosts to the `_unmaintained` dir (diff)
downloadnixos-config-c0f966510475d8d621f302c1bd70f430e589b838.tar.gz
nixos-config-c0f966510475d8d621f302c1bd70f430e589b838.zip
feat(hosts): Share common options
Diffstat (limited to 'hosts/tiamat')
-rw-r--r--hosts/tiamat/default.nix49
-rw-r--r--hosts/tiamat/hardware.nix7
2 files changed, 8 insertions, 48 deletions
diff --git a/hosts/tiamat/default.nix b/hosts/tiamat/default.nix
index 6e72ccca..b679ec62 100644
--- a/hosts/tiamat/default.nix
+++ b/hosts/tiamat/default.nix
@@ -4,65 +4,32 @@
   ];
 
   soispha = {
-    boot.enable = true;
-    cleanup.enable = true;
-    documentation.enable = true;
-    fonts = {
-      enable = true;
-      enableEmoji = true;
-    };
-    home-manager.enable = true;
-    impermanence.enable = true;
-
+    bluetooth = {enable = true;};
     networking = {
       enable = true;
-      mode = "systemd-networkd";
       hostName = "tiamat";
+      mode = "systemd-networkd";
     };
-    bluetooth = {
-      enable = true;
-    };
-
-    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";
     };
-
     services = {
-      adb = {
-        enable = true;
-        user = "soispha";
-      };
       backup = {
-        enable = true;
         backupDiskUuid = "c06ce163-2955-4388-b212-dfec4448fcf4";
+        enable = true;
       };
-      fwupd.enable = true;
-      postgresql.enable = false;
-      printing.enable = true;
-      scanning.enable = true;
-      snapper.enable = true;
-
-      steam.enable = false;
-      systemDiff.enable = true;
     };
     locale = {
       enable = true;
       keyMap = "us";
     };
+    users = {
+      enable = true;
+      enableDeprecatedPlugdev = true;
+      hashedPassword = "$y$jFT$qi3wS9njrMl2y55b3NOBI0$j40Qt6AAkMSfZ82KPhqMaUaPztWtPps1wOqaXaF/L.6";
+    };
   };
-  networking.hostName = "tiamat";
 
   system.stateVersion = "23.05";
 }
diff --git a/hosts/tiamat/hardware.nix b/hosts/tiamat/hardware.nix
index 8ecb4ce0..97600848 100644
--- a/hosts/tiamat/hardware.nix
+++ b/hosts/tiamat/hardware.nix
@@ -3,13 +3,6 @@
     (modulesPath + "/installer/scan/not-detected.nix") # TODO: is this necessary?
   ];
 
-  hardware = {
-    bluetooth = {
-      enable = true;
-      powerOnBoot = true;
-    };
-  };
-
   soispha = {
     hardware = {
       enable = true;