diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-17 21:57:53 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-17 21:57:53 -0400 |
commit | e0f2eb724245e02cb247b644f0947261d8665318 (patch) | |
tree | 13f929df40059d37165cbe46be95a6404a1bbecb /nix/programs/wireguard/default.nix | |
parent | refactor styles to new color scheme basis (diff) | |
download | dotfiles-nix-e0f2eb724245e02cb247b644f0947261d8665318.tar.gz dotfiles-nix-e0f2eb724245e02cb247b644f0947261d8665318.tar.bz2 dotfiles-nix-e0f2eb724245e02cb247b644f0947261d8665318.zip |
remove nix dir and move out all sub modules
Diffstat (limited to 'nix/programs/wireguard/default.nix')
-rw-r--r-- | nix/programs/wireguard/default.nix | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/nix/programs/wireguard/default.nix b/nix/programs/wireguard/default.nix deleted file mode 100644 index ff9c954..0000000 --- a/nix/programs/wireguard/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ config, pkgs, ... }: - -{ - environment.systemPackages = with pkgs; [ - wireguard-tools - ]; - - networking.wg-quick.interfaces = { - freyanet = { - address = [ "10.2.0.2/32" "fd:cafe:dead:bee::2/128" "fe80::2/128" ]; - dns = [ "10.3.0.138" ]; - privateKeyFile = config.sops.secrets.freyanetWg.path; - - peers = [{ - publicKey = "x0ykwakpYCvI/pG+nR83lNUyeOE9m54thnX3bvZ+FUk="; - allowedIPs = [ "10.0.0.0/14" "fd:cafe::/32" ]; - endpoint = "cid.freya.cat:3000"; - persistentKeepalive = 25; - }]; - }; - - #tinternet = { - # address = [ "69.0.0.2/32" "cafe::2/128" "fe80::2/128" ]; - # dns = [ "1.1.1.1" ]; - # privateKeyFile = config.sops.secrets.tinternetWg.path; - - # peers = [{ - # publicKey = "8Ice49Yc7N75OYJW59ohDbfUjgrkwIuGWKWocJQGgzI="; - # allowedIPs = [ "0.0.0.0/0" "::/0" ]; - # endpoint = "freya.cat:51282"; - # persistentKeepalive = 25; - # }]; - #}; - }; -} |