summary refs log tree commit diff stats
path: root/system/impermanence/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-24 16:09:20 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-24 16:09:20 +0100
commitb5fc07416652a445f15946ce7e5fc48766cf6722 (patch)
treede37587f0673e4aea12bc0532ee1b3879ab1e31c /system/impermanence/default.nix
parentfix(modules/back): Set now needed source code URL environment variable (diff)
downloadnixos-server-b5fc07416652a445f15946ce7e5fc48766cf6722.tar.gz
nixos-server-b5fc07416652a445f15946ce7e5fc48766cf6722.zip
refactor(modules/impermanence): Migrate to by-name while distributing mods
Diffstat (limited to 'system/impermanence/default.nix')
-rw-r--r--system/impermanence/default.nix28
1 files changed, 0 insertions, 28 deletions
diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix
deleted file mode 100644
index b2f0778..0000000
--- a/system/impermanence/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{...}: {
-  # TODO: Only activate them if their module is also active
-  imports = [
-    ./mods/acme.nix
-    ./mods/mail.nix
-    ./mods/mastodon.nix
-    ./mods/matrix.nix
-    ./mods/minecraft.nix
-    ./mods/murmur.nix
-    ./mods/nix-sync.nix
-    ./mods/openssh.nix
-    ./mods/postgresql.nix
-    ./mods/taskserver.nix
-    ./mods/users.nix
-  ];
-
-  environment.persistence."/srv" = {
-    hideMounts = true;
-    directories = [
-      "/etc/nixos"
-      "/var/log"
-      "/var/lib/nixos"
-    ];
-    files = [
-      "/etc/machine-id"
-    ];
-  };
-}