inital work on deluge behind a vpn.

This commit is contained in:
Gabe Venberg 2025-04-29 20:38:34 +02:00
parent 67eb4264ff
commit 6da142120b
4 changed files with 116 additions and 11 deletions

View file

@ -7,17 +7,17 @@
}: let
port = "8090";
in {
sops = lib.mkIf (inputs ? nix-secrets) {
secrets.restic-server-credentials = {
sops.secrets = lib.mkIf (inputs ? nix-secrets) {
restic-server-credentials = {
sopsFile = "${inputs.nix-secrets}/restic-server";
format = "binary";
owner = "restic";
};
secrets.restic-url = {
restic-url = {
sopsFile = "${inputs.nix-secrets}/restic-client.yaml";
owner = config.host.details.user;
};
secrets.restic-password = {
restic-password = {
sopsFile = "${inputs.nix-secrets}/restic-client.yaml";
owner = config.host.details.user;
};