diff options
author | sils <sils@sils.li> | 2023-01-14 15:04:00 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-01-14 15:04:00 +0100 |
commit | 30e47b3e98ac0e427c1b8e7a82489892c2354d85 (patch) | |
tree | 1322711c5d21db51ed734292c2ca1aa38290ba78 /hardware-configuration.nix | |
parent | Merge pull request 'Feat: Added support for btrfs' (#4) from btrfs into server1 (diff) | |
download | nixos-server-30e47b3e98ac0e427c1b8e7a82489892c2354d85.tar.gz nixos-server-30e47b3e98ac0e427c1b8e7a82489892c2354d85.zip |
Feat: Switch root into subvolume
This enables further changes like temproot.
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r-- | hardware-configuration.nix | 1 |
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"]; }; } |