tailscale and user groups
This commit is contained in:
parent
6447486643
commit
f733a5238c
7 changed files with 113 additions and 217 deletions
|
|
@ -5,7 +5,10 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
imports = [ ./wireguard.nix ];
|
||||
imports = [
|
||||
./wireguard.nix
|
||||
./tailscale.nix
|
||||
];
|
||||
sops.secrets = {
|
||||
"wg0/conf".sopsFile = ./secrets/vpn.yaml;
|
||||
"wg-br0/conf".sopsFile = ./secrets/vpn.yaml;
|
||||
|
|
@ -13,6 +16,12 @@
|
|||
"wg-uk0/conf".sopsFile = ./secrets/vpn.yaml;
|
||||
};
|
||||
|
||||
services.tailscale-netns = {
|
||||
enable = true;
|
||||
instances.work = {
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = hostname;
|
||||
networkmanager.enable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue