Use specialisation to switch themes on NixOS
This commit is contained in:
parent
b94e030619
commit
6b00a19d0c
3 changed files with 18 additions and 4 deletions
|
@ -3,6 +3,11 @@
|
|||
options.frogeye = {
|
||||
extra = lib.mkEnableOption "Big software";
|
||||
gaming = lib.mkEnableOption "Games";
|
||||
polarity = lib.mkOption {
|
||||
default = "dynamic";
|
||||
description = "Whether to use light theme or dark theme.";
|
||||
type = lib.types.enum [ "dynamic" "light" "dark" ];
|
||||
};
|
||||
desktop = {
|
||||
xorg = lib.mkEnableOption "Enable X11 support";
|
||||
numlock = lib.mkEnableOption "Auto-enable numlock";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue