Initial commit
This commit is contained in:
commit
430194beda
109 changed files with 9066 additions and 0 deletions
23
hosts/cryodev-main/services/tailscale.nix
Normal file
23
hosts/cryodev-main/services/tailscale.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
outputs,
|
||||
constants,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
outputs.nixosModules.tailscale
|
||||
];
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
# Connect to our own headscale instance
|
||||
loginServer = "https://${constants.services.headscale.fqdn}";
|
||||
# Allow SSH access over Tailscale
|
||||
enableSSH = true;
|
||||
# Use MagicDNS names
|
||||
acceptDNS = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue