Skip to content

Commit

Permalink
fix(plymouth): use correct package call
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Dec 22, 2024
1 parent 26c6970 commit e348382
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions modules/nixos/boot/plymouth.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
...
}:
let
inherit (lib.meta) getExe';
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;

Expand All @@ -14,19 +15,12 @@ in
options.garden.system.boot.plymouth.enable = mkEnableOption "plymouth boot splash";

config = mkIf cfg.enable {
boot.plymouth = {
enable = true;
catppuccin.enable = true;
};
boot.plymouth.enable = true;

# make plymouth work with sleep
powerManagement = {
powerDownCommands = ''
${pkgs.plymouth} --show-splash
'';
resumeCommands = ''
${pkgs.plymouth} --quit
'';
powerDownCommands = "${getExe' pkgs.plymouth "plymouth"} --show-splash";
resumeCommands = "${getExe' pkgs.plymouth "plymouth"} --quit";
};
};
}

0 comments on commit e348382

Please sign in to comment.