Merge branch 'luks' into 'main'

Change to LUKS

See merge request ahoneybun/nix-configs!3
This commit is contained in:
Aaron Honeycutt 2023-10-27 16:19:09 +00:00
commit eec5093c36
2 changed files with 8 additions and 1 deletions

View file

@ -18,6 +18,13 @@
systemd-boot.consoleMode = "0"; systemd-boot.consoleMode = "0";
}; };
boot.initrd.luks.devices = {
root = {
device = "/dev/sda";
preLVM = true;
};
};
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nix.settings.extra-platforms = [ "aarch64-linux" ]; nix.settings.extra-platforms = [ "aarch64-linux" ];

View file

@ -91,7 +91,7 @@
}; };
# System # System
system.stateVersion = "22.11"; system.stateVersion = "23.05";
system.autoUpgrade.enable = true; system.autoUpgrade.enable = true;
} }