about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-25 15:47:48 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-25 15:47:48 +0200
commit31c8b1bfb4069c5b5efdcdde9cc00f75256ffd69 (patch)
tree2d43016114210ef230ca4a7e372a6aaebde9b603 /hosts
parentClean tmp dir on boot (diff)
downloadnixos-config-31c8b1bfb4069c5b5efdcdde9cc00f75256ffd69.tar.gz
nixos-config-31c8b1bfb4069c5b5efdcdde9cc00f75256ffd69.tar.bz2
nixos-config-31c8b1bfb4069c5b5efdcdde9cc00f75256ffd69.zip
fmt
Diffstat (limited to 'hosts')
-rw-r--r--hosts/phobos/hardware.nix46
1 files changed, 23 insertions, 23 deletions
diff --git a/hosts/phobos/hardware.nix b/hosts/phobos/hardware.nix
index 9f75e04..f05ed0d 100644
--- a/hosts/phobos/hardware.nix
+++ b/hosts/phobos/hardware.nix
@@ -15,6 +15,29 @@ in
     kernelParams = [ "net.ifnames=0" "biosdevname=0" "iomem=relaxed" ];
   };
 
+  fileSystems."/boot" = {
+    device = "/dev/disk/by-uuid/0A8B-3968";
+    fsType = "vfat";
+  };
+
+  fileSystems."/" = {
+    device = "/dev/disk/by-uuid/9a450653-8369-4850-af4f-cbec7cac8a99";
+    fsType = "btrfs";
+    options = [ "subvol=root compress-force=zstd noatime" ];
+  };
+
+  fileSystems."/home" = {
+    device = "/dev/disk/by-uuid/9a450653-8369-4850-af4f-cbec7cac8a99";
+    fsType = "btrfs";
+    options = [ "subvol=home compress-force=zstd" ];
+  };
+
+  fileSystems."/nix" = {
+    device = "/dev/disk/by-uuid/9a450653-8369-4850-af4f-cbec7cac8a99";
+    fsType = "btrfs";
+    options = [ "subvol=nix compress-force=zstd noatime" ];
+  };
+
   swapDevices = [ ];
 
   powerManagement.cpuFreqGovernor = powerMode;
@@ -45,27 +68,4 @@ in
     };
   };
 
-  fileSystems."/" =
-    { device = "/dev/disk/by-uuid/9a450653-8369-4850-af4f-cbec7cac8a99";
-      fsType = "btrfs";
-      options = [ "subvol=root compress-force=zstd noatime" ];
-    };
-
-  fileSystems."/home" =
-    { device = "/dev/disk/by-uuid/9a450653-8369-4850-af4f-cbec7cac8a99";
-      fsType = "btrfs";
-      options = [ "subvol=home compress-force=zstd" ];
-    };
-
-  fileSystems."/nix" =
-    { device = "/dev/disk/by-uuid/9a450653-8369-4850-af4f-cbec7cac8a99";
-      fsType = "btrfs";
-      options = [ "subvol=nix compress-force=zstd noatime" ];
-    };
-
-  fileSystems."/boot" =
-    { device = "/dev/disk/by-uuid/0A8B-3968";
-      fsType = "vfat";
-    };
-
 }