mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: write plymouth module
This commit is contained in:
parent
42cc781bd7
commit
f62efc1eee
2 changed files with 24 additions and 0 deletions
|
|
@ -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
23
modules/core/plymouth.nix
Normal 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" ];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue