Dynamic theme setting

This commit is contained in:
Geoffrey Frogeye 2023-12-05 23:11:54 +01:00
parent 56544fe947
commit 94d9bae95b
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
8 changed files with 55 additions and 40 deletions

View file

@ -17,6 +17,13 @@
description = "Maximum video height in pixel the machine can reasonably watch";
default = 1080;
};
phasesBrightness = {
enable = lib.mkEnableOption "Set a specific brightness for the screen when running phases commands";
backlight = lib.mkOption { type = lib.types.str; description = "Name of the backlight device"; };
jour = lib.mkOption { type = lib.types.int; description = "brightness value for phase: jour"; };
crepuscule = lib.mkOption { type = lib.types.int; description = "brightness value for phase: crepuscule"; };
nuit = lib.mkOption { type = lib.types.int; description = "brightness value for phase: nuit"; };
};
};
dev = {
ansible = lib.mkEnableOption "Ansible dev stuff";