tailscale, sparklify
This commit is contained in:
parent
891076ab21
commit
c8a40e12df
1 changed files with 7 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ in
|
|||
enableContainers = true;
|
||||
};
|
||||
|
||||
networking.hostName = "nix"; # Define your hostname.
|
||||
networking.hostName = "twilight"; # Define your hostname.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
|
|
@ -164,6 +164,9 @@ in
|
|||
description = "mehbark";
|
||||
extraGroups = [ "networkmanager" "wheel" "tty" ];
|
||||
hashedPassword = "$6$AgDjrnyBPBpfMpB1$NxjyeU/WxsOXrY7KpnJethtGz28LO.hNARG5J8adIoxDFkBVG/H9wJEiG0A09E7JgguoPxFWmwYIBQLTbknVv1";
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICyTxPV3S7ms0AJ0tduI3aJP3o2TJCnkirWKaj5i1+DW"
|
||||
];
|
||||
};
|
||||
|
||||
virtualisation.vmVariant = {
|
||||
|
|
@ -180,9 +183,11 @@ in
|
|||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 8384 22000 ];
|
||||
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue