mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 19:12:11 +02:00
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> Former-commit-id: 5e67a0bcd2c02d201cf8d074b5fc29aca2e41d0e
43 lines
850 B
Nix
43 lines
850 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
boot = {
|
|
bootspec.enable = true;
|
|
loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
systemd-boot = {
|
|
enable = true;
|
|
consoleMode = "auto";
|
|
configurationLimit = 8;
|
|
};
|
|
};
|
|
tmp.cleanOnBoot = true;
|
|
kernelPackages =
|
|
pkgs.linuxPackages_latest; # _zen, _hardened, _rt, _rt_latest, etc.
|
|
|
|
# Silent boot
|
|
kernelParams = [
|
|
"quiet"
|
|
"splash"
|
|
"rd.systemd.show_status=false"
|
|
"rd.udev.log_level=3"
|
|
"udev.log_priority=3"
|
|
"boot.shell_on_fail"
|
|
];
|
|
consoleLogLevel = 0;
|
|
initrd.verbose = false;
|
|
|
|
plymouth = {
|
|
enable = true;
|
|
theme = lib.mkForce "cuts_alt";
|
|
themePackages = with pkgs; [
|
|
(adi1090x-plymouth-themes.override {
|
|
selected_themes = ["cuts_alt"];
|
|
})
|
|
];
|
|
};
|
|
};
|
|
}
|