diff --git a/config-plasma.nix b/config-plasma.nix index bbd6398..53ecd5f 100644 --- a/config-plasma.nix +++ b/config-plasma.nix @@ -13,6 +13,19 @@ systemd-boot.enable = true; }; + { + fileSystems."/" = + { device = "/dev/disk/by-label/root" ; + fsType = "btrfs"; + options = [ "subvol=nixos" "compress=zstd" "autodefrag" "noatime" ]; + }; + + boot.initrd.luks.devices."crypt-root" = { + device = "/dev/disk/by-label/root" ; + preLVM = true; + }; + } + # Name your host machine networking.hostName = "NixOS-VM";