marleyos/modules/nixos/system/boot.nix
punkfairie 106b0d752e
feat: wrap all config in config = {}
To make it easier to add other top level attrsets if needed
2025-05-26 13:29:52 -07:00

19 lines
293 B
Nix

{
pkgs,
lib,
config,
...
}: {
config = {
boot = {
kernelPackages =
lib.mkIf (!config.marleycfg.profiles.server)
pkgs.linuxPackages_xanmod;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
};
}