diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-18 08:07:27 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-18 08:07:27 -0600 |
| commit | ed2550a41c8429a1d2fe897deb878717c2ebc3d1 (patch) | |
| tree | 43a4ab6d02cb8dd0308a9fd8628bb04ee7f6ccec /hosts/mercury | |
| parent | 9bd9efe8b26ba34e0cbba3e281749a4e262558e0 (diff) | |
initial wireguard configuration
Diffstat (limited to 'hosts/mercury')
| -rw-r--r-- | hosts/mercury/config.nix | 26 | ||||
| -rw-r--r-- | hosts/mercury/mercury-wg-key.age | 6 |
2 files changed, 27 insertions, 5 deletions
diff --git a/hosts/mercury/config.nix b/hosts/mercury/config.nix index 9ee29d0..590698a 100644 --- a/hosts/mercury/config.nix +++ b/hosts/mercury/config.nix @@ -1,18 +1,34 @@ -{pkgs, ...}: { +{config, ...}: { collinux = { theme = "catppuccin"; user.name = "collin"; + secrets = { + "wg-key".file = ./mercury-wg-key.age; + }; + + wireguard = { + enable = true; + ip = "100.100.0.5"; + gateway = "100.100.0.1"; + privateKeyFile = config.collinux.secrets."wg-key".path; + peers = [ + { + # ganymede + publicKey = "WNLf8M6JGSHeRVvbAF6E/6oxAHeNxv6bXqqlmwMdvlk="; + ip = "100.100.0.0/24"; + endpoint = "williamsfam.us.com:51820"; + } + ]; + }; + desktop = { wallpaper = ./wallpaper.jpg; - # gtk.enable = true; - greetd.enable = true; wm = { - # sway.enable = true; - niri.enable = true; + sway.enable = true; components.fuzzel.enable = true; components.dunst.enable = true; }; diff --git a/hosts/mercury/mercury-wg-key.age b/hosts/mercury/mercury-wg-key.age new file mode 100644 index 0000000..397f99c --- /dev/null +++ b/hosts/mercury/mercury-wg-key.age @@ -0,0 +1,6 @@ +age-encryption.org/v1 +-> ssh-ed25519 azBilg t589gal+hWbEiNH9vFQFb94UU2ElhLUwBpSg+6516wg +ZmRj3LLDctDPpDKGg3HvI4r7Ex6Sf0ERcPJlqUJXv0w +--- IpOHjk3TkNRT8aW1ocgCie/ljv/sWWFRuaYGhxlf948 +0:,̅;ǛTɿNRAkllD:5%{.Й +V8Ƀ8nBR
\ No newline at end of file |
