diff options
Diffstat (limited to 'modules/home/suites/dev')
| -rw-r--r-- | modules/home/suites/dev/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/home/suites/dev/default.nix b/modules/home/suites/dev/default.nix new file mode 100644 index 0000000..eb1fef9 --- /dev/null +++ b/modules/home/suites/dev/default.nix @@ -0,0 +1,31 @@ +{ options, config, lib, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.suites.dev; + impermanence = config.${namespace}.impermanence; + desktop = config.${namespace}.suites.desktop; +in { + options.${namespace}.suites.dev = with types; { + enable = mkEnableOption "dev"; + }; + + config = mkIf cfg.enable { + home.persistence.${impermanence.location} = { + directories = [ + "code" + ]; + }; + + cxl = { + apps = { + vscode.enable = desktop.enable; + intellij.enable = desktop.enable; + }; + + tools = { + cloc.enable = true; + tmux.enable = true; + }; + }; + }; +} |