add gui option

This commit is contained in:
jopejoe1 2024-04-19 18:12:23 +02:00
parent 24af8c82c1
commit bdd527ddad
8 changed files with 14 additions and 11 deletions

View file

@ -3,6 +3,7 @@
let cfg = config.jopejoe1.nix;
in {
options.jopejoe1.nix = { enable = lib.mkEnableOption "Enable Nix"; };
options.jopejoe1.gui = { enable = lib.mkEnableOption "Enable GUI"; };
config = lib.mkIf cfg.enable {
nix = {