diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 5670b54..0633ebe 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -39,6 +39,7 @@ with lib; }; sconfig = { + devtools.enable = true; security-tools = true; }; diff --git a/modules/devtools.nix b/modules/devtools.nix new file mode 100644 index 0000000..66aefc2 --- /dev/null +++ b/modules/devtools.nix @@ -0,0 +1,14 @@ +{ config, pkgs, lib, ... }: +let + cfg = config.sconfig.devtools; +in +{ + options.sconfig.devtools.enable = lib.mkEnableOption "Development Tools"; + + config = lib.mkIf cfg.enable { + environment.systemPackages = with pkgs; + [ + rustc.llvmPackages.lld + ]; + }; +}