diff --git a/modules/system/apps/default.nix b/modules/system/apps/default.nix index 8480f48..f848f2a 100644 --- a/modules/system/apps/default.nix +++ b/modules/system/apps/default.nix @@ -9,6 +9,7 @@ _: { ./letsencrypt ./nginx ./openconnect + ./plymouth ./postgresql ./redis ./rustdesk diff --git a/modules/system/apps/plymouth/default.nix b/modules/system/apps/plymouth/default.nix new file mode 100644 index 0000000..66e10d4 --- /dev/null +++ b/modules/system/apps/plymouth/default.nix @@ -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"; + }; + }; +}