Personal Nix setup
at main 413 B view raw
1{ lib, helpers, ... }: 2 3with lib; { 4 options.modules.apps = { 5 enable = mkOption { 6 default = false; 7 example = true; 8 description = "Whether to enable Apps options."; 9 type = types.bool; 10 }; 11 }; 12 13 config.modules.apps = { 14 enable = if helpers.isLinux then (mkDefault false) else (mkForce false); 15 }; 16} // helpers.linuxAttrs { 17 imports = [ 18 ./games.nix 19 ./nix-ld.nix 20 ]; 21}