aboutsummaryrefslogtreecommitdiff
path: root/modules/boot
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-01-11 13:36:45 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-01-11 13:36:45 -0600
commitdbc5cb478c7fad1c1750421486252f0a5d98ef9c (patch)
tree2ca74b6cf1db48e2a1a4989b13a6bc7ac6dcfe32 /modules/boot
parent32a7e59b93a9c3748cd6aeca3d4fc9dadf8e0f59 (diff)
now there's docs
Diffstat (limited to 'modules/boot')
-rw-r--r--modules/boot/options.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/boot/options.nix b/modules/boot/options.nix
index 2f670f9..9e85570 100644
--- a/modules/boot/options.nix
+++ b/modules/boot/options.nix
@@ -1,9 +1,11 @@
{
+ my-lib,
config,
lib,
...
}: let
- inherit (lib) mkOption mkEnableOption types;
+ inherit (lib) mkOption mkEnableOption;
+ inherit (my-lib.options {inherit lib config;}) mkThemeOption;
in {
options = {
collinux.boot = {
@@ -15,10 +17,7 @@ in {
};
plymouth = {
enable = mkEnableOption "plymouth bootsplash";
- theme = mkOption {
- type = types.enum ["catppuccin" "adwaita"];
- default = config.collinux.theme;
- };
+ theme = mkThemeOption "plymouth";
};
secureBoot.enable = mkEnableOption "lanzaboote";
};