feat: add shan, marr and brontes to tailscale ssh

This commit is contained in:
Nydragon 2024-09-26 16:13:09 +02:00
parent e509ecf7c5
commit ecfb8518f4
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g
4 changed files with 32 additions and 3 deletions

View file

@ -33,7 +33,16 @@
services = { services = {
displayManager.sddm.enable = true; displayManager.sddm.enable = true;
dbus.enable = true; dbus.enable = true;
tailscale.enable = true; tailscale = {
enable = true;
extraUpFlags = [
"--ssh"
"--advertise-tags"
"tag:client"
"--login-server"
"https://hs.ccnlc.eu"
];
};
}; };
programs = { programs = {

View file

@ -63,6 +63,19 @@
sway.enable = true; sway.enable = true;
}; };
services = {
tailscale = {
enable = true;
extraUpFlags = [
"--ssh"
"--advertise-tags"
"tag:client"
"--login-server"
"https://hs.ccnlc.eu"
];
};
};
services.greetd = { services.greetd = {
enable = true; enable = true;
settings = { settings = {

View file

@ -76,8 +76,6 @@
]; ];
}; };
services.tailscale.enable = true;
services.openssh = { services.openssh = {
enable = true; enable = true;
ports = [ 56528 ]; ports = [ 56528 ];

View file

@ -10,6 +10,7 @@
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
./disk-config.nix ./disk-config.nix
../../modules/nix ../../modules/nix
../../modules/users/ny.nix
]; ];
boot.loader.grub = { boot.loader.grub = {
@ -37,6 +38,14 @@
openssh.enable = true; openssh.enable = true;
tailscale = { tailscale = {
enable = true; enable = true;
extraUpFlags = [
"--ssh"
"--advertise-tags"
"tag:server"
"--login-server"
"https://hs.ccnlc.eu"
];
#useRoutingFeatures = "both";
}; };
}; };
environment.systemPackages = map lib.lowPrio [ environment.systemPackages = map lib.lowPrio [