summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2019-11-09 08:17:14 -0600
committerGitHub <noreply@github.com>2019-11-09 08:17:14 -0600
commit8e639f142f61fd4643acd27ae3be527ba4039a62 (patch)
tree7156c68d63269190317c8c5a23d5cd8197c531d0 /nixos/modules/system
parentcdf9b626c4449aec05e76975778760d77a7c5efe (diff)
parent054ceb826e2aedd849be741a0ae1888eb87cd569 (diff)
Merge pull request #71986 from mtetreault/mte/plymouth-improvements
plymouth: Add extra config field
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/plymouth.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/plymouth.nix b/nixos/modules/system/boot/plymouth.nix
index adca3c3f66e7f..23fce22366d8e 100644
--- a/nixos/modules/system/boot/plymouth.nix
+++ b/nixos/modules/system/boot/plymouth.nix
@@ -25,6 +25,7 @@ let
     [Daemon]
     ShowDelay=0
     Theme=${cfg.theme}
+    ${cfg.extraConfig}
   '';
 
 in
@@ -65,6 +66,15 @@ in
         '';
       };
 
+      extraConfig = mkOption {
+        type = types.lines;
+        default = "";
+        description = ''
+          Literal string to append to <literal>configFile</literal>
+          and the config file generated by the plymouth module.
+        '';
+      };
+
     };
 
   };