This commit is contained in:
2025-02-01 10:48:35 -05:00
parent f836aa06b4
commit 964041c860
2 changed files with 8 additions and 10 deletions

View File

@@ -60,6 +60,7 @@
boot = {
kernelPackages = pkgs.linuxPackages;
zfs.package = pkgs.zfs_unstable;
kernelParams = [
# 2048MB
@@ -81,10 +82,6 @@
compressor = "zstd";
};
kernelModules = [
"msr"
];
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
@@ -103,6 +100,7 @@
'';
};
# encryption key for zpool (VERY IMPORTANT)
boot.initrd.secrets."/etc/zfs-key" = /etc/nixos/secrets/zfs-key;
environment.etc = {