feat(ops/nixos/nugget): Enable tailscale-relay
This commit is contained in:
parent
b586a04a0a
commit
a8792f8372
1 changed files with 12 additions and 0 deletions
|
@ -11,6 +11,10 @@ config: let
|
|||
|
||||
lieer = (pkgs.third_party.lieer {});
|
||||
in pkgs.lib.fix(self: {
|
||||
imports = [
|
||||
../modules/tailscale.nix
|
||||
];
|
||||
|
||||
hardware = {
|
||||
pulseaudio.enable = true;
|
||||
cpu.intel.updateMicrocode = true;
|
||||
|
@ -237,6 +241,14 @@ in pkgs.lib.fix(self: {
|
|||
};
|
||||
};
|
||||
|
||||
# Use Tailscale \o/
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
relayConf = "/etc/tailscale/relay.conf";
|
||||
aclFile = null; # allow all traffic for testing
|
||||
package = pkgs.third_party.tailscale;
|
||||
};
|
||||
|
||||
# ... and other nonsense.
|
||||
system.stateVersion = "19.09";
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue