nixos/modules/system/hardware/plymouth/default.nix

16 lines
302 B
Nix
Raw Normal View History

{ config, lib, ... }:
with lib;
let
cfg = config.modules.system.hardware.plymouth;
in
{
options.modules.system.hardware.plymouth = {
enable = mkEnableOption ''
Enable plymouth with my custom configurations
'';
};
config = mkIf cfg.enable {
boot.plymouth.enable = true;
};
}