diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-04-14 19:41:32 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 20:51:02 -0700 |
| commit | f02af8347fefdf4df4812fc33825bf707962fcd9 (patch) | |
| tree | a885818d6222f2103a770cfc142f92bc4a0fd540 /modules/home | |
| parent | b30418be64d1b5133ff7bc802a349e9fa09c9009 (diff) | |
migration: fixes
Diffstat (limited to 'modules/home')
| -rw-r--r-- | modules/home/impermanence/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/home/impermanence/default.nix b/modules/home/impermanence/default.nix index 081946c..959e92a 100644 --- a/modules/home/impermanence/default.nix +++ b/modules/home/impermanence/default.nix @@ -1,9 +1,8 @@ { options, config, osConfig, lib, namespace, inputs, host, ... }: with lib; with lib.${namespace}; let - cfg = config.${namespace}.impermanence // { - inherit (osConfig.${namespace}.system.impermanence.home) enable location secure; - }; + cfg = config.${namespace}.impermanence; + os = osConfig.${namespace}.system.impermanence.home; in { imports = [ inputs.impermanence.nixosModules.home-manager.impermanence @@ -22,7 +21,7 @@ in { config = { ${namespace}.impermanence = { - inherit (cfg) enable location secure; + inherit (os) enable location secure; }; home.persistence.${cfg.location} = { |