From aba1da6c1f4f02c28ea9d99a0bcc722f4b5cced8 Mon Sep 17 00:00:00 2001 From: muon Date: Thu, 31 Jul 2025 18:57:30 +0000 Subject: [PATCH] Remove persist --- modules/home/impermanence.nix | 22 +++++++++++----------- modules/nixos/impermanence.nix | 18 +++++++++--------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/modules/home/impermanence.nix b/modules/home/impermanence.nix index 5c910f3..7a7a461 100644 --- a/modules/home/impermanence.nix +++ b/modules/home/impermanence.nix @@ -36,16 +36,16 @@ let in with lib; { config = mkIf osConfig.mods.impermanence.enable { home.packages = [ fs-diff ]; - home.persistence."/persistent/home/muon" = { - directories = [ - "documents" - "downloads" - "src" - ".gnupg" - ".ssh" - ".config/sops" - ".local/share/direnv" - ]; - }; + # home.persistence."/persistent/home/muon" = { + # directories = [ + # "documents" + # "downloads" + # "src" + # ".gnupg" + # ".ssh" + # ".config/sops" + # ".local/share/direnv" + # ]; + # }; }; } diff --git a/modules/nixos/impermanence.nix b/modules/nixos/impermanence.nix index f2ffa3d..2871d4a 100644 --- a/modules/nixos/impermanence.nix +++ b/modules/nixos/impermanence.nix @@ -3,15 +3,15 @@ with lib; { options.mods.impermanence.enable = mkEnableOption "enables impermanence"; config = mkIf config.mods.impermanence.enable { - environment.persistence."/persistent" = { - directories = [ - "/var/lib/bluetooth" - "/var/lib/nixos" - "/var/lib/systemd/coredump" - "/etc/NetworkManager/system-connections" - ]; - files = [ "/etc/machine-id" ]; - }; + # environment.persistence."/persistent" = { + # directories = [ + # "/var/lib/bluetooth" + # "/var/lib/nixos" + # "/var/lib/systemd/coredump" + # "/etc/NetworkManager/system-connections" + # ]; + # files = [ "/etc/machine-id" ]; + # }; boot.initrd.postResumeCommands = lib.mkAfter '' mkdir /btrfs_tmp