From 27d0e3902058d57dc3889174b2e264ad2870d4fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Mon, 13 Oct 2025 13:24:31 +0200 Subject: [PATCH] copyparty + rclone --- home.nix | 2 ++ void.nix | 15 +++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/home.nix b/home.nix index 2e292d5..662fd6d 100644 --- a/home.nix +++ b/home.nix @@ -37,6 +37,8 @@ in { ouch inetutils fd + file + rclone # used for yazi epub previews epub-thumbnailer # remote working diff --git a/void.nix b/void.nix index e53f405..78a23ef 100644 --- a/void.nix +++ b/void.nix @@ -389,11 +389,15 @@ no-robots = true; theme = 2; shr = "/shr"; + daw = true; }; accounts = { "khais" = { passwordFile = "/etc/nixos/secrets/copyparty/khais.password"; }; + "tsb" = { + passwordFile = "/etc/nixos/secrets/copyparty/tsb.password"; + }; }; volumes = { "/" = { @@ -406,6 +410,17 @@ fk = 8; }; }; + "/tsb" = { + path = "/pile/copyparty/tsb"; + access = { + "g" = "*"; + "rwmd." = "tsb"; + "A" = ["khais"]; + }; + flags = { + fk = 8; + }; + }; }; };