From e8077fde966e051fc449fffcfa061c7f7edc47b0 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 19:01:38 -0700 Subject: migration: finalize --- modules/home/suites/dev/default.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 modules/home/suites/dev/default.nix (limited to 'modules/home/suites/dev/default.nix') 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; + }; + }; + }; +} -- cgit v1.2.3