All this just to get nyx to even build

This commit is contained in:
blahai 2025-01-12 18:35:44 +02:00
parent ed1aafe645
commit fdfd4e0434
No known key found for this signature in database
24 changed files with 2272 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{
lib,
pkgs,
config,
...
}: let
inherit (lib.meta) getExe';
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
cfg = config.olympus.system.boot.plymouth;
in {
options.olympus.system.boot.plymouth.enable = mkEnableOption "plymouth boot splash";
config = mkIf cfg.enable {
boot.plymouth.enable = true;
# make plymouth work with sleep
powerManagement = {
powerDownCommands = "${getExe' pkgs.plymouth "plymouth"} --show-splash";
resumeCommands = "${getExe' pkgs.plymouth "plymouth"} --quit";
};
};
}