From 32a534f0f1d5384aaa24babfe82f58271b974077 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Sat, 31 Jan 2026 14:16:38 -0600 Subject: real copyparty password --- hosts/ganymede/collin-copyparty-password.age | 1 + hosts/ganymede/config.nix | 5 +++++ modules/services/nixos/copyparty.nix | 3 +-- secrets.nix | 2 ++ 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 hosts/ganymede/collin-copyparty-password.age diff --git a/hosts/ganymede/collin-copyparty-password.age b/hosts/ganymede/collin-copyparty-password.age new file mode 100644 index 0000000..b7cd2ec --- /dev/null +++ b/hosts/ganymede/collin-copyparty-password.age @@ -0,0 +1 @@ +u!!HX!DrTP4vCt diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index a9e3279..d821c76 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -9,6 +9,11 @@ }; "caddy-env".file = ./caddy-env.age; + + "collin-copyparty-password" = { + file = ./collin-copyparty-password.age; + owner = "copyparty"; + }; }; terminal = { diff --git a/modules/services/nixos/copyparty.nix b/modules/services/nixos/copyparty.nix index 400338f..6e105fc 100644 --- a/modules/services/nixos/copyparty.nix +++ b/modules/services/nixos/copyparty.nix @@ -1,7 +1,6 @@ { config, lib, - pkgs, inputs, ... }: let @@ -26,7 +25,7 @@ in { accounts = { collin = { - passwordFile = toString <| pkgs.writeText "default-pw" "admin"; # not the actual password anymore + passwordFile = config.collinux.sercrets."collin-copyparty-password".path; }; }; volumes = { diff --git a/secrets.nix b/secrets.nix index d766bc7..7bcc9b9 100644 --- a/secrets.nix +++ b/secrets.nix @@ -5,4 +5,6 @@ in { "tsnsrv-authkey.age".publicKeys = [ganymede.host_pubkey mercury.host_pubkey]; "williams-psk.age".publicKeys = [ganymede.host_pubkey]; "github-ssh-key.age".publicKeys = [mercury.host_pubkey jupiter.host_pubkey]; + + "collin-copyparty-password.age".publicKeys = [mercury.host_pubkey ganymede.host_pubkey]; } -- cgit v1.3.1