plymouth on desktop

This commit is contained in:
janis 2025-09-03 19:32:08 +02:00
parent 212bfac81e
commit 1c7bb69361
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8
2 changed files with 39 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{lib, config, modulesPath, ...}: { {lib, pkgs, config, modulesPath, ...}: {
imports = [ imports = [
./disks.nix ./disks.nix
../../options.nix ../../options.nix
@ -14,10 +14,39 @@
"HDMI-A-1" = { pos = "1920 0"; }; "HDMI-A-1" = { pos = "1920 0"; };
}; };
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ]; boot = {
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; kernelParams = [
boot.extraModulePackages = [ ]; "quiet"
"splash"
"boot.shell_on_fail"
"udev.log_priority=3"
"rd.systemd.show_status=auto"
];
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
consoleLogLevel = 3;
initrd = {
verbose = false;
kernelModules = ["amdgpu" ];
availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
};
plymouth = {
enable = true;
theme = "rings";
themePackages = with pkgs; [
(adi1090x-plymouth-themes.override {
selected_themes = ["rings"];
}
)
];
};
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -25,8 +25,11 @@
system.stateVersion = "25.05"; system.stateVersion = "25.05";
boot = { boot = {
loader.systemd-boot.enable = true; loader = {
loader.efi.canTouchEfiVariables = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
# timeout = 0;
};
# kernelModules = []; # kernelModules = [];
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_zen;