summary refs log tree commit diff stats
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-01-14 15:04:00 +0100
committersils <sils@sils.li>2023-01-14 15:04:00 +0100
commit30e47b3e98ac0e427c1b8e7a82489892c2354d85 (patch)
tree1322711c5d21db51ed734292c2ca1aa38290ba78 /hardware-configuration.nix
parentMerge pull request 'Feat: Added support for btrfs' (#4) from btrfs into server1 (diff)
downloadnixos-server-30e47b3e98ac0e427c1b8e7a82489892c2354d85.tar.gz
nixos-server-30e47b3e98ac0e427c1b8e7a82489892c2354d85.zip
Feat: Switch root into subvolume
This enables further changes like temproot.
Diffstat (limited to '')
-rw-r--r--hardware-configuration.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
index cb9d265..19626a7 100644
--- a/hardware-configuration.nix
+++ b/hardware-configuration.nix
@@ -6,5 +6,6 @@
   fileSystems."/" = {
     device = "/dev/vda3";
     fsType = "btrfs";
+    options = ["subvol=nixos-root"];
   };
 }