whoops, this hardware-config stuff is killin muis

This commit is contained in:
Serenity-F 2024-03-29 19:14:46 +10:00
parent 1a910bf21e
commit 852e7ef148
2 changed files with 23 additions and 15 deletions

View file

@ -28,7 +28,6 @@
"flakes"
];
};
# cleanup packages older than 3 days from nix store
gc = {
# automatic = true;
# dates = "weekly";
@ -37,18 +36,18 @@
};
};
# Bootloader.
boot = {
loader = {
systemd-boot.enable = true;
systemd-boot.configurationLimit = 5;
efi.canTouchEfiVariables = true;
};
# boot = {
# loader = {
# systemd-boot.enable = true;
# systemd-boot.configurationLimit = 5;
# efi.canTouchEfiVariables = true;
# };
# plymouth.enable = true;
initrd = {
systemd.enable = true;
secrets = {
"/crypto_keyfile.bin" = null;
};
# systemd.enable = true;
# secrets = {
# "/crypto_keyfile.bin" = null;
# };
# kernelParams = [
# "quiet"
# ];

View file

@ -13,17 +13,26 @@
# Enable swap on luks
boot = {
loader = {
systemd-boot.enable = true;
systemd-boot = {
enable = true;
configurationLimit = 5;
};
efi = {
canTouchEfiVariables = true;
# efiSysMountPoint = "/boot/efi";
};
};
initrd = {
# luks.devices."luks-c2b8b1cb-6d01-4e7c-a659-1fcf01618c41" = {
# device = "/dev/disk/by-uuid/c2b8b1cb-6d01-4e7c-a659-1fcf01618c41";
systemd.enable = true;
secrets = {
# "crypto_keyfile.bin" = null;
};
luks = {
# devices."luks-DISK_UUID" = {
# device = "/dev/disk/by-uuid/DISK_UUID";
# keyfile = "/crypto_keyfile.bin";
# };
# };
};
};
};