Simplify tailscale configuration
This commit is contained in:
parent
59b58faeb5
commit
51312397b5
5 changed files with 14 additions and 25 deletions
nixos
|
@ -17,7 +17,6 @@
|
|||
./stylix.nix
|
||||
./wireguard.nix
|
||||
./gnome.nix
|
||||
./tailscale.nix
|
||||
./compliance.nix
|
||||
./cinnamon.nix
|
||||
./ssh.nix
|
||||
|
@ -28,6 +27,7 @@
|
|||
programs.ssh.startAgent = true;
|
||||
|
||||
services = {
|
||||
tailscale.useRoutingFeatures = "client";
|
||||
xserver.enable = true;
|
||||
|
||||
printing = {
|
||||
|
@ -113,7 +113,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
networking = {
|
||||
useDHCP = lib.mkDefault true;
|
||||
networkmanager.unmanaged = lib.mkIf config.services.tailscale.enable ["tailscale0"];
|
||||
};
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue