From ee55bf0927f47a5ad5c9d60c6b072b827293a420 Mon Sep 17 00:00:00 2001 From: ene Date: Tue, 21 Feb 2023 08:00:54 +0100 Subject: Fix(impermanence): Rework the imports --- home-manager/default.nix | 3 ++- home-manager/impermanence/default.nix | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'home-manager') diff --git a/home-manager/default.nix b/home-manager/default.nix index bdbf50a6..3783411c 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -16,7 +16,8 @@ dataHome = "${homeDirectory}/.local/share"; in { imports = [ - inputs.impermanence.nixosModules.home-manager.impermanence + # inputs.impermanence.nixosModules.home-manager.impermanence + "${impermanence}/home-manager.nix" ./impermanence ./packages ./config diff --git a/home-manager/impermanence/default.nix b/home-manager/impermanence/default.nix index 7a542ffa..e8226ae5 100644 --- a/home-manager/impermanence/default.nix +++ b/home-manager/impermanence/default.nix @@ -4,9 +4,7 @@ impermanence, ... }: { - # TODO use this instead of the root config - - nixosConfig.home.persistence."/srv/home/soispha" = { + home.persistence."/srv/home/soispha" = { allowOther = true; directories = [ ".local/share" -- cgit 1.4.1