about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-01-30 12:20:47 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-01-30 12:20:47 +0100
commitd2fc4f61e0063543fbdbf599f9ea62426dd7400c (patch)
treebde2b012c612bd3f4eb40eb1f4e60bbf9a6d6bc6
parentfix(flake.nix): Remove unneeded `flake-utils` follows in `lanzaboote` (diff)
downloadnixos-config-d2fc4f61e0063543fbdbf599f9ea62426dd7400c.zip
fix(modules/impermanence): Only persist `~/.mozilla/firefox`
The other directories don't contain anything worthy to be persisted.
Besides, persisting `~/.mozilla/native-messaging-hosts` results in
tridactly changing the symlink to it's native messaging host.
Diffstat (limited to '')
-rw-r--r--flake/nixosConfigurations/common.nix1
-rw-r--r--modules/by-name/im/impermanence/module.nix2
2 files changed, 1 insertions, 2 deletions
diff --git a/flake/nixosConfigurations/common.nix b/flake/nixosConfigurations/common.nix
index 5b8c0e46..8071c6a9 100644
--- a/flake/nixosConfigurations/common.nix
+++ b/flake/nixosConfigurations/common.nix
@@ -88,7 +88,6 @@
           "~/.local/share"
           "~/.local/.Trash-1000"
 
-          "~/.mozilla/.Trash-1000"
           "~/.mozilla/firefox"
 
           "~/media"
diff --git a/modules/by-name/im/impermanence/module.nix b/modules/by-name/im/impermanence/module.nix
index 9c289346..94789755 100644
--- a/modules/by-name/im/impermanence/module.nix
+++ b/modules/by-name/im/impermanence/module.nix
@@ -43,7 +43,7 @@ in {
             ".config/iamb/profiles"
 
             ".cache"
-            ".mozilla"
+            ".mozilla/firefox"
 
             "media"
             "repos"