Skip to content

Commit

Permalink
feat: add plymouth
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgon committed Nov 5, 2024
1 parent ab587dc commit 79b6674
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/system/apps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ _: {
./letsencrypt
./nginx
./openconnect
./plymouth
./postgresql
./redis
./rustdesk
Expand Down
22 changes: 22 additions & 0 deletions modules/system/apps/plymouth/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.mySystemApps.plymouth;
in
{
options.mySystemApps.plymouth = {
enable = lib.mkEnableOption "plymouth";
};

config = lib.mkIf cfg.enable {
boot.plymouth = {
enable = true;
themePackages = [ (pkgs.catppuccin-plymouth.override { variant = "mocha"; }) ];
theme = "catppuccin-mocha";
};
};
}

0 comments on commit 79b6674

Please sign in to comment.