tailscale and user groups

This commit is contained in:
root 2026-07-19 11:34:28 -03:00
parent 6447486643
commit f733a5238c
No known key found for this signature in database
7 changed files with 113 additions and 217 deletions

View file

@ -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;