diff options
author | Silas Schöffel <sils@sils.li> | 2024-04-01 00:57:47 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-04-01 00:57:47 +0200 |
commit | d81d8298cea22de1d0c9604d6c77bf45b3a66961 (patch) | |
tree | 40559e561cdddffa6f99f10da492b078c3f9e141 /modules/nixos/plymouth.nix | |
parent | structure: introduce modules (diff) | |
download | nix-config-d81d8298cea22de1d0c9604d6c77bf45b3a66961.tar.gz nix-config-d81d8298cea22de1d0c9604d6c77bf45b3a66961.zip |
plymouth: init module
Diffstat (limited to 'modules/nixos/plymouth.nix')
-rw-r--r-- | modules/nixos/plymouth.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/nixos/plymouth.nix b/modules/nixos/plymouth.nix new file mode 100644 index 0000000..8e39220 --- /dev/null +++ b/modules/nixos/plymouth.nix @@ -0,0 +1,12 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.plymouth; +in { + options.sils.plymouth.enable = lib.mkEnableOption "Enable Plymouth"; + config = lib.mkIf cfg.enable { + boot.plymouth.enable = true; + }; +} |