tailscale, sparklify

This commit is contained in:
mehbark 2025-05-14 23:44:49 -04:00
parent 891076ab21
commit c8a40e12df

View file

@ -41,7 +41,7 @@ in
enableContainers = true; enableContainers = true;
}; };
networking.hostName = "nix"; # Define your hostname. networking.hostName = "twilight"; # Define your hostname.
# Configure network proxy if necessary # Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";
@ -164,6 +164,9 @@ in
description = "mehbark"; description = "mehbark";
extraGroups = [ "networkmanager" "wheel" "tty" ]; extraGroups = [ "networkmanager" "wheel" "tty" ];
hashedPassword = "$6$AgDjrnyBPBpfMpB1$NxjyeU/WxsOXrY7KpnJethtGz28LO.hNARG5J8adIoxDFkBVG/H9wJEiG0A09E7JgguoPxFWmwYIBQLTbknVv1"; hashedPassword = "$6$AgDjrnyBPBpfMpB1$NxjyeU/WxsOXrY7KpnJethtGz28LO.hNARG5J8adIoxDFkBVG/H9wJEiG0A09E7JgguoPxFWmwYIBQLTbknVv1";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICyTxPV3S7ms0AJ0tduI3aJP3o2TJCnkirWKaj5i1+DW"
];
}; };
virtualisation.vmVariant = { virtualisation.vmVariant = {
@ -180,9 +183,11 @@ in
services.openssh = { services.openssh = {
enable = true; enable = true;
settings.PasswordAuthentication = true; settings.PasswordAuthentication = false;
}; };
services.tailscale.enable = true;
networking.firewall.allowedTCPPorts = [ 22 8384 22000 ]; networking.firewall.allowedTCPPorts = [ 22 8384 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ]; networking.firewall.allowedUDPPorts = [ 22000 21027 ];