aboutsummaryrefslogtreecommitdiff
path: root/modules/home/impermanence/default.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-04-14 19:41:32 -0700
committerCaroline Larimore <caroline@larimo.re>2025-04-14 20:51:02 -0700
commitf02af8347fefdf4df4812fc33825bf707962fcd9 (patch)
treea885818d6222f2103a770cfc142f92bc4a0fd540 /modules/home/impermanence/default.nix
parentb30418be64d1b5133ff7bc802a349e9fa09c9009 (diff)
migration: fixes
Diffstat (limited to 'modules/home/impermanence/default.nix')
-rw-r--r--modules/home/impermanence/default.nix7
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} = {