282 current 2024-12-11 15:48:28 24.11.20241207.e2605d0 6.12.3 *

This commit is contained in:
Ranomier 2024-12-11 15:48:34 +01:00
parent ec93793af6
commit 838913aba3
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{pkgs, ...}: {
#MANPAGER='nvim +Man!'
environment.systemPackages = [pkgs.neovim];
environment.variables = {
"MANPAGER" = "nvim +Man!";
"EDITOR" = "nvim";
};
}

36
modules/plymouth.nix Normal file
View file

@ -0,0 +1,36 @@
{pkgs, ...}: {
boot = let
theme_name = "deus_ex";
in {
# could lead to problems: https://github.com/NixOS/nixpkgs/issues/26722
initrd.systemd.enable = true;
plymouth = {
enable = true;
theme = theme_name;
themePackages = with pkgs; [
# By default we would install all themes
(adi1090x-plymouth-themes.override {
selected_themes = [theme_name];
})
];
};
# Enable "Silent Boot"
consoleLogLevel = 0;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
# Hide the OS choice for bootloaders.
# It's still possible to open the bootloader list by pressing any key
# It will just not appear on screen unless a key is pressed
loader.timeout = 0;
};
}