peerix: install zerotierone package, configure stan

This commit is contained in:
Aaron Bieber 2022-08-31 16:51:00 -06:00
parent a7b042a78f
commit 83dbadd175
No known key found for this signature in database
3 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib; {
options = {
tsPeerix = {
@ -33,6 +33,11 @@ with lib; {
nix.settings.allowed-users = [ "peerix" ];
services = {
zerotierone = {
enable = true;
joinNetworks = [ "db64858fedd3b256" ];
};
peerix = {
enable = true;
openFirewall = false;
@ -43,6 +48,8 @@ with lib; {
};
};
environment.systemPackages = [ pkgs.zerotierone ];
networking.firewall.interfaces = listToAttrs (flatten (map (i: {
name = i;
value = {

View File

@ -127,7 +127,7 @@ in {
tsPeerix = {
enable = true;
privateKeyFile = "${config.sops.secrets.peerix_private_key.path}";
interfaces = [ "tailscale0" "enp43s0" ];
interfaces = [ "ztksevmpn3" ];
};
programs.steam.enable = true;

View File

@ -122,7 +122,7 @@ in {
tsPeerix = {
enable = true;
privateKeyFile = "${config.sops.secrets.peerix_private_key.path}";
interfaces = [ "tailscale0" "enp43s0" "enp132s0u1" ];
interfaces = [ "ztksevmpn3" ];
};
services = {