Move common aspi and kardorf nixos-config to modules

This commit is contained in:
2024-10-09 15:22:18 +02:00
parent c4454d7711
commit 9dfe8aa9f2
14 changed files with 581 additions and 391 deletions

View File

@ -15,11 +15,21 @@ in
};
config = mkIf cfg.enable {
# Bootloader
# Use this for simple nix boot menu, if no dual boot required
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 10;
boot.loader.efi.canTouchEfiVariables = true;
# https://github.com/NixOS/nixpkgs/blob/c32c39d6f3b1fe6514598fa40ad2cf9ce22c3fb7/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix#L66
boot.loader.systemd-boot.editor = false;
boot.supportedFilesystems = [
"btrfs"
"ntfs"
"nfs"
"cifs"
];
};
}