diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home/apps/steam/default.nix | 1 | ||||
| -rw-r--r-- | modules/home/impermanence/default.nix | 8 | ||||
| -rw-r--r-- | modules/nixos/system/impermanence/default.nix | 12 |
3 files changed, 9 insertions, 12 deletions
diff --git a/modules/home/apps/steam/default.nix b/modules/home/apps/steam/default.nix index 9148b9d..0082033 100644 --- a/modules/home/apps/steam/default.nix +++ b/modules/home/apps/steam/default.nix @@ -17,7 +17,6 @@ in { home.persistence.${impermanence.location} = { directories = [{ directory = ".local/share/Steam"; - method = "symlink"; }]; }; diff --git a/modules/home/impermanence/default.nix b/modules/home/impermanence/default.nix index b4b4630..540a6b5 100644 --- a/modules/home/impermanence/default.nix +++ b/modules/home/impermanence/default.nix @@ -4,10 +4,6 @@ with lib; with lib.${namespace}; let cfg = config.${namespace}.impermanence; os = osConfig.${namespace}.system.impermanence.home; in { - imports = [ - inputs.impermanence.nixosModules.home-manager.impermanence - ]; - options.${namespace}.impermanence = with types; { skeleton = mkOption { type = bool; @@ -26,8 +22,6 @@ in { home.persistence.${cfg.location} = { enable = cfg.enable; - allowOther = true; - directories = mkIf cfg.skeleton [ ".local/share/applications" ".local/bin" @@ -45,8 +39,6 @@ in { home.persistence.${cfg.secure.location} = { enable = cfg.enable; - allowOther = false; - directories = mkIf cfg.skeleton [ "Secure" ]; diff --git a/modules/nixos/system/impermanence/default.nix b/modules/nixos/system/impermanence/default.nix index b82579b..ecbf720 100644 --- a/modules/nixos/system/impermanence/default.nix +++ b/modules/nixos/system/impermanence/default.nix @@ -11,18 +11,24 @@ in { default = "/persist/system"; }; - #TODO: multi-user support home = { enable = mkEnableOption "home impermanence"; + # in a completely undocumented and non-overridable change (yes im a little upset), + # home impermanence moved from the location provided to the location provided + $HOME. + # forcing me to move all my shit is NOT cool. dont remove user choice for no reason. + # especially not in a breaking change, and ESPECIALLY not an *UNDOCUMENTED ONE!* + + # anyways, now home is at just /persist while system is in a subdir. because that + # makes sense. actual persist path = /persist/home/c location = mkOption { type = str; - default = "/persist/home"; + default = "/persist"; }; secure.location = mkOption { type = str; - default = "/persist/secure/home"; + default = "/persist/secure"; }; }; }; |