aboutsummaryrefslogtreecommitdiff
path: root/hosts/ganymede
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-19 10:59:12 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-03-19 10:59:12 -0500
commit2bc17b5cfd65a9537a9c56e74c9e7918156015e0 (patch)
treea8a323c6571556d3f1b5e8f197e17ed447f8daa4 /hosts/ganymede
parenta97c10944e382cc7c439339c88a007401b67beeb (diff)
changes (idk)
Diffstat (limited to 'hosts/ganymede')
-rw-r--r--hosts/ganymede/config.nix15
-rw-r--r--hosts/ganymede/nixos.nix3
2 files changed, 7 insertions, 11 deletions
diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix
index b67d057..bd990e8 100644
--- a/hosts/ganymede/config.nix
+++ b/hosts/ganymede/config.nix
@@ -8,6 +8,11 @@
owner = "wpa_supplicant";
};
+ "gliese-key" = {
+ file = ../gliese-key.age;
+ owner = "collin";
+ };
+
"caddy-env".file = ./secrets/caddy-env.age;
"collin-copyparty-password" = {
@@ -22,11 +27,6 @@
file = ./secrets/wireguard-pk.age;
owner = "systemd-network";
};
-
- "copilot-token" = {
- file = ./secrets/copilot-token.age;
- owner = "copilot-api";
- };
};
terminal = {
@@ -118,11 +118,6 @@
enable = true;
envFile = config.collinux.secrets."caddy-env".path;
};
-
- copilot-api = {
- enable = true;
- githubToken = config.collinux.secrets."copilot-token".path;
- };
};
};
}
diff --git a/hosts/ganymede/nixos.nix b/hosts/ganymede/nixos.nix
index f4d8d1b..043f67a 100644
--- a/hosts/ganymede/nixos.nix
+++ b/hosts/ganymede/nixos.nix
@@ -60,6 +60,7 @@
};
# deploy user
+ nix.settings.trusted-users = ["deploy"];
users.groups."deploy" = {};
users.users."deploy" = {
isSystemUser = true;
@@ -90,7 +91,7 @@
Host gliese
HostName 10.100.0.1
User green
- IdentityFile ~/Gliese_key_2.pem
+ IdentityFile ${config.collinux.secrets."gliese-key".path}
'';
# merge logs from subdomains