summaryrefslogtreecommitdiff
path: root/hosts/fscusat/modules/mirror/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/fscusat/modules/mirror/default.nix')
-rw-r--r--hosts/fscusat/modules/mirror/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/hosts/fscusat/modules/mirror/default.nix b/hosts/fscusat/modules/mirror/default.nix
new file mode 100644
index 0000000..c5fd462
--- /dev/null
+++ b/hosts/fscusat/modules/mirror/default.nix
@@ -0,0 +1,11 @@
+{ ... }: {
+ imports = [
+ ./debian
+ ./www.nix
+ ];
+
+ systemd.tmpfiles.rules = [
+ "d /var/cache/mirror/ 0755 root root"
+ "L /var/cache/mirror/debian - - - - /var/lib/ftpsync/"
+ ];
+}