summaryrefslogtreecommitdiff
path: root/hosts/fscusat/modules/mirror/default.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-02-17 18:31:41 +0530
committersinanmohd <sinan@sinanmohd.com>2024-02-17 21:24:02 +0530
commitbf12a289b2e4c8f22d1be781408a6d1273fd3b04 (patch)
tree6bf2eb88598db2d47119247d92be7bfb7b688b48 /hosts/fscusat/modules/mirror/default.nix
parent60ed7bde534f23be9e3ee5429f72cf63ac8bfff2 (diff)
fscusat/modules/mirror: init
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/"
+ ];
+}