mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-21 15:17:14 +02:00
feat: encrypted root partition with btrfs(except /boot partition)
This commit is contained in:
@@ -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?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user