mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 14:30:42 +00:00
Add polymouth
This commit is contained in:
parent
5514ffb24d
commit
97680bd24e
5 changed files with 62 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
in {
|
||||
imports = [
|
||||
./secure-boot.nix
|
||||
./plymouth.nix
|
||||
];
|
||||
|
||||
options.myOptions.system.boot = {
|
||||
|
|
25
options/system/boot/plymouth.nix
Normal file
25
options/system/boot/plymouth.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, ... }: with lib; let
|
||||
inherit (lib) mkEnableOption mkOption types;
|
||||
in
|
||||
{
|
||||
options.myOptions.system.boot.plymouth = {
|
||||
enable = mkEnableOption ''Plymouth boot splash.'';
|
||||
|
||||
withThemes = mkEnableOption ''
|
||||
Whether or not themes from https://github.com/adi1090x/plymouth-themes
|
||||
should be enabled and configured.
|
||||
'';
|
||||
|
||||
selectedTheme = mkOption {
|
||||
type = types.str;
|
||||
default = "bgrt";
|
||||
description = ''
|
||||
Choose which theme to use.
|
||||
|
||||
If you have `myOptions.system.boot.plymouth.withThemes` enabled, you can use more themes from the
|
||||
https://github.com/adi1090x/plymouth-themes project. You can find the the available theme names at
|
||||
https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/themes/adi1090x-plymouth-themes/shas.nix.
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue