flocon/modules/nix/core/boot.nix
Anthony Rodriguez 99b6b41de3
treewide: migrate config/system/core to modules
Moved everything from core into modules. I want to get all the NixOS
stuff moved first, and do home-manager after. I used the different
profiles to disable configuration that might break my server, as it has
its own configuration already. This will need to be refactored later, as
I want to ultimately only use the local module system.
2025-01-14 12:01:33 +01:00

32 lines
554 B
Nix

{pkgs, ...}: {
boot = {
loader = {
timeout = 0;
systemd-boot = {
enable = true;
consoleMode = "2";
};
efi.canTouchEfiVariables = true;
};
plymouth = {
enable = true;
extraConfig = ''
[Daemon]
DeviceScale=2
'';
};
consoleLogLevel = 0;
initrd.systemd.enable = true;
initrd.verbose = false;
kernelParams = [
"quiet"
"systemd.show_status=auto"
"rd.udev.log_level=3"
];
kernelPackages = pkgs.linuxPackages_latest;
};
}