peerix: install zerotierone package, configure stan
This commit is contained in:
parent
a7b042a78f
commit
83dbadd175
@ -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 = {
|
||||
|
@ -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;
|
||||
|
@ -122,7 +122,7 @@ in {
|
||||
tsPeerix = {
|
||||
enable = true;
|
||||
privateKeyFile = "${config.sops.secrets.peerix_private_key.path}";
|
||||
interfaces = [ "tailscale0" "enp43s0" "enp132s0u1" ];
|
||||
interfaces = [ "ztksevmpn3" ];
|
||||
};
|
||||
|
||||
services = {
|
||||
|
Loading…
Reference in New Issue
Block a user