feat: encrypted root partition with btrfs(except /boot partition)

This commit is contained in:
Ryan Yin
2023-11-26 19:15:03 +08:00
parent ada780afc8
commit 5e0c7e90ff
2 changed files with 79 additions and 32 deletions
+1 -10
View File
@@ -37,15 +37,6 @@
];
boot.kernelParams = [ "nvidia.NVreg_PreserveVideoMemoryAllocations=1" ];
# Bootloader.
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi"; # ← use the same mount point here.
};
systemd-boot.enable = true;
};
networking = {
hostName = "ai";
@@ -106,5 +97,5 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.11"; # Did you read the comment?
system.stateVersion = "23.11"; # Did you read the comment?
}