summary refs log tree commit diff stats
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-01-23 21:12:50 +0100
committersils <sils@sils.li>2023-01-23 21:12:50 +0100
commit1b5e27311adf4da0bcfaa15acfbc5005584569e5 (patch)
tree82a4ae678333272b380942f2966f0c71c5881f5a /hardware-configuration.nix
parentMerge pull request 'Remove ssh from the config file and make it's keys persis... (diff)
parentUpdate: Save hashed password for sils (diff)
downloadnixos-server-1b5e27311adf4da0bcfaa15acfbc5005584569e5.tar.gz
nixos-server-1b5e27311adf4da0bcfaa15acfbc5005584569e5.zip
Merge pull request 'User Configuration' (#12) from server1_users into server1
Reviewed-on: https://git.sils.li/vhack.eu/nixos-server/pulls/12
Reviewed-by: sils <sils@sils.li>
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r--hardware-configuration.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
index 9fcbe2b..76cdb1e 100644
--- a/hardware-configuration.nix
+++ b/hardware-configuration.nix
@@ -19,13 +19,14 @@
       fsType = "btrfs";
       options = ["subvol=storage" "compress-force=zstd"];
     };
-    "/etc/nixos" = {
-      device = "/srv/nix-config";
-      options = ["bind"];
-    };
     "/boot" = {
       device = "/dev/vda3";
       options = ["subvol=boot" "compress-force=zstd"];
     };
+
+    "/etc/nixos" = {
+      device = "/srv/nix-config";
+      options = ["bind"];
+    };
   };
 }