Compare commits
2 commits
5f8e50471c
...
75008ffe53
Author | SHA1 | Date | |
---|---|---|---|
75008ffe53 | |||
bb53626336 |
3 changed files with 17 additions and 0 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.key filter=git-crypt diff=git-crypt
|
16
kiosk.nix
16
kiosk.nix
|
@ -35,4 +35,20 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
extraUpFlags = [ "--advertise-tags" "tag:kiosk" ];
|
||||||
|
authKeyFile = ./tailscale-client-secret.key;
|
||||||
|
authKeyParameters.ephemeral = false;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
||||||
|
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
PermitRootLogin = "yes";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
BIN
tailscale-client-secret.key
Normal file
BIN
tailscale-client-secret.key
Normal file
Binary file not shown.
Loading…
Reference in a new issue