aboutsummaryrefslogtreecommitdiff
path: root/hosts/ganymede/config.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-02-27 07:57:56 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-02-27 07:57:56 -0600
commitc303524a359d2be84d825acebbf8d7e2ddd8f24a (patch)
treeaf7a7537703b7989dff65478a26f5637c0d1abbd /hosts/ganymede/config.nix
parent1932c82d72fb74971b180f84e06bcd1724e6271b (diff)
refactor network config, add wireguard connection to vps
Diffstat (limited to 'hosts/ganymede/config.nix')
-rw-r--r--hosts/ganymede/config.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix
index db684ae..3f8c6e4 100644
--- a/hosts/ganymede/config.nix
+++ b/hosts/ganymede/config.nix
@@ -18,6 +18,10 @@
file = ./collin-forgejo-password.age;
owner = "forgejo";
};
+ "wireguard-pk" = {
+ file = ./wireguard-pk.age;
+ owner = "root";
+ };
};
terminal = {
@@ -33,13 +37,11 @@
};
system.network = {
- networkd = {
- enable = true;
- static = {
- ip = "192.168.50.2/24";
- gateway = "192.168.50.1";
- };
-
+ static = {
+ ip = "192.168.50.2/24";
+ gateway = "192.168.50.1";
+ };
+ wireless.static = {
ssid = "williams";
pskFile = config.collinux.secrets."williams-psk".path;
};