nixos/modules/boot.nix
ISnortPennies a7384b38e6 made boot silent and faster
deleted samba service
2023-01-24 00:38:18 -05:00

32 lines
913 B
Nix
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{pkgs, ...}: {
systemd = {
targets.network-online.wantedBy = pkgs.lib.mkForce []; # Normally ["multi-user.target"]
services.NetworkManager-wait-online.wantedBy = pkgs.lib.mkForce []; # Normally ["network-online.target"]
};
environment.etc = {
"issue" = {
text = "[?12l[?25h";
mode = "0444";
};
};
boot = {
blacklistedKernelModules = ["nouveau" "lbm-nouveau" "pcspkr"];
kernelParams = ["fbcon=nodefer" "bgrt_disable" "quiet" "splash" "systemd.show_status=false" "rd.udev.log_level=3" "vt.global_cursor_default=0"];
consoleLogLevel = 0;
initrd.verbose = false;
plymouth = {
enable = true;
theme = "breeze";
logo = ../images/nixos.png;
};
loader = {
systemd-boot = {
enable = true;
consoleMode = "max";
editor = false;
};
efi.canTouchEfiVariables = true;
timeout = 0;
};
};
}