added tailscale
This commit is contained in:
parent
1f794ae0f4
commit
02ea85f89f
1 changed files with 9 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
sshPubkeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE+X4vceRi79FLwwyzFzxNvaQlolQFrpYn0N4bgdLLaI root@hardlyworking"
|
||||
|
|
@ -48,6 +48,12 @@ in
|
|||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
tailscale.enable = true;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -56,6 +62,8 @@ in
|
|||
git
|
||||
screen
|
||||
rxvt_unicode.terminfo
|
||||
nmap
|
||||
dig
|
||||
(import ./vim.nix)
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue