feat: write plymouth module

This commit is contained in:
Ahwx 2025-07-26 19:06:05 +02:00
parent 42cc781bd7
commit f62efc1eee
2 changed files with 24 additions and 0 deletions

View file

@ -9,6 +9,7 @@
++ [ (import ./network.nix) ]
++ [ (import ./pipewire.nix) ]
++ [ (import ./program.nix) ]
++ [ (import ./plymouth.nix) ]
++ [ (import ./sshd.nix) ]
++ [ (import ./security.nix) ]
++ [ (import ./services.nix) ]

23
modules/core/plymouth.nix Normal file
View file

@ -0,0 +1,23 @@
{
pkgs,
lib,
...
}:
{
# TODO: add https://github.com/FraioVeio/plymouth-xp-theme
boot.loader.timeout = 1;
boot.plymouth = {
enable = lib.mkDefault true;
themePackages = with pkgs; [
# By default we would install all themes
(adi1090x-plymouth-themes.override {
selected_themes = [ "lone" ];
# selected_themes = [ "sliced" ];
# selected_themes = [ "rings" ];
# selected_themes = [ "red_loader" ];
# selected_themes = [ "dna" ];
# selected_themes = [ "hexagon_dots" ];
})
];
};
}