about summary refs log tree commit diff stats
path: root/modules/home.legacy/impermanence/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-24 14:46:23 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-24 14:46:23 +0200
commit30fe63591613b4407a58020395e1bc84a9552ddc (patch)
treeccb00678d2e52173af178d58a1b85d1c448ea64d /modules/home.legacy/impermanence/default.nix
parentrefactor(modules/impermanence): Move all optional dirs to their modules (diff)
downloadnixos-config-30fe63591613b4407a58020395e1bc84a9552ddc.tar.gz
nixos-config-30fe63591613b4407a58020395e1bc84a9552ddc.zip
feat(modules/legacy/impermanence): Merge with the system config
Using the home-manager module uses a non-root fuse bindfs, which is
obviously slower than simply mounting the directories via bind
mounts. Besides, mounting them via the bindfs fuse mount, results in a
potential DOS, when this mount processes runs out of open file
descriptors (leading to the issue described in the `nix -> lix` commit.)
Diffstat (limited to 'modules/home.legacy/impermanence/default.nix')
-rw-r--r--modules/home.legacy/impermanence/default.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/home.legacy/impermanence/default.nix b/modules/home.legacy/impermanence/default.nix
deleted file mode 100644
index dcb60f3b..00000000
--- a/modules/home.legacy/impermanence/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{
-  lib,
-  nixosConfig,
-  ...
-}: {
-  config = lib.mkIf nixosConfig.soispha.impermanence.enable {
-    home.persistence."/srv/home/soispha" = {
-      allowOther = true;
-      directories = [
-        ".local/share"
-
-        ".local/state/nvim"
-        ".local/state/mpv"
-        ".local/state/wireplumber"
-
-        ".config/Signal"
-        ".config/Element"
-        ".config/iamb/profiles"
-
-        ".cache"
-        ".mozilla"
-
-        "media"
-        "repos"
-        "school"
-      ];
-    };
-  };
-}