From a53626d5c3da12609deac22576d4e4c2c9461715 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 16 Apr 2025 13:19:37 +0200 Subject: [PATCH 1/2] Unused module --- hosts/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/hosts/default.nix b/hosts/default.nix index 87197a3..44a0c7c 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -131,7 +131,6 @@ inputs.catppuccin.nixosModules.catppuccin ]; extraHmModules = [ - inputs.impermanence.homeManagerModules.impermanence "${inputs.homeManagerGitWorkspace}/modules/services/git-workspace.nix" inputs.vscode-server.nixosModules.home inputs.catppuccin.homeManagerModules.catppuccin From 58238117001453a5012751b20e171141c5f612e6 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 16 Apr 2025 13:19:43 +0200 Subject: [PATCH 2/2] Fix --- modules/ccr/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ccr/default.nix b/modules/ccr/default.nix index f2fba3d..99cdc60 100644 --- a/modules/ccr/default.nix +++ b/modules/ccr/default.nix @@ -146,7 +146,7 @@ in } ] ++ [ - (lib.mkIf cfg.impermanence.enable { + (lib.optionalAttrs cfg.impermanence.enable { home.persistence."/persist/home/${cfg.username}" = { inherit (cfg.impermanence) directories files; allowOther = true;