Remove persist

This commit is contained in:
muon 2025-07-31 18:57:30 +00:00
parent f7fe0becd1
commit aba1da6c1f
2 changed files with 20 additions and 20 deletions

View file

@ -36,16 +36,16 @@ let
in with lib; { in with lib; {
config = mkIf osConfig.mods.impermanence.enable { config = mkIf osConfig.mods.impermanence.enable {
home.packages = [ fs-diff ]; home.packages = [ fs-diff ];
home.persistence."/persistent/home/muon" = { # home.persistence."/persistent/home/muon" = {
directories = [ # directories = [
"documents" # "documents"
"downloads" # "downloads"
"src" # "src"
".gnupg" # ".gnupg"
".ssh" # ".ssh"
".config/sops" # ".config/sops"
".local/share/direnv" # ".local/share/direnv"
]; # ];
}; # };
}; };
} }

View file

@ -3,15 +3,15 @@ with lib; {
options.mods.impermanence.enable = mkEnableOption "enables impermanence"; options.mods.impermanence.enable = mkEnableOption "enables impermanence";
config = mkIf config.mods.impermanence.enable { config = mkIf config.mods.impermanence.enable {
environment.persistence."/persistent" = { # environment.persistence."/persistent" = {
directories = [ # directories = [
"/var/lib/bluetooth" # "/var/lib/bluetooth"
"/var/lib/nixos" # "/var/lib/nixos"
"/var/lib/systemd/coredump" # "/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections" # "/etc/NetworkManager/system-connections"
]; # ];
files = [ "/etc/machine-id" ]; # files = [ "/etc/machine-id" ];
}; # };
boot.initrd.postResumeCommands = lib.mkAfter '' boot.initrd.postResumeCommands = lib.mkAfter ''
mkdir /btrfs_tmp mkdir /btrfs_tmp