diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-07 21:48:39 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:48 -0700 |
| commit | 4c9f311c40df66395aeb38f96d09530c0d5b6f0d (patch) | |
| tree | e55982be09f7f4aa4f0054f490e1e0f01216edd4 /snowfall/modules/home | |
| parent | 3138059adbcead0f9cba98c13528bbb13808e037 (diff) | |
migration: persist ~/code
Diffstat (limited to 'snowfall/modules/home')
| -rw-r--r-- | snowfall/modules/home/suites/dev/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/snowfall/modules/home/suites/dev/default.nix b/snowfall/modules/home/suites/dev/default.nix index fd58bce..9ca35f6 100644 --- a/snowfall/modules/home/suites/dev/default.nix +++ b/snowfall/modules/home/suites/dev/default.nix @@ -2,6 +2,7 @@ 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; { @@ -9,6 +10,12 @@ in { }; config = mkIf cfg.enable { + home.persistence.${impermanence.location} = { + directories = [ + "code" + ]; + }; + cxl = { apps = { vscode.enable = desktop.enable; |