This commit is contained in:
fwastring 2025-11-12 16:34:43 +01:00
parent d86cc3c816
commit 3d26de29d3
7 changed files with 179 additions and 142 deletions

View file

@ -9,6 +9,9 @@
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-36.9.5"
];
};
};
@ -22,6 +25,27 @@
enable = true;
};
boot = {
plymouth = {
enable = true;
};
# Enable "Silent boot"
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
# 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;
};
programs.bash = {
interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]