From f02af8347fefdf4df4812fc33825bf707962fcd9 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 19:41:32 -0700 Subject: migration: fixes --- modules/home/impermanence/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'modules/home/impermanence/default.nix') 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} = { -- cgit v1.2.3