feat: make tailscale module

This commit is contained in:
matt1432 2023-10-20 13:03:36 -04:00
parent 55dc691b8e
commit 0668c27081
2 changed files with 12 additions and 8 deletions

View file

@ -5,6 +5,7 @@
../../modules/audio.nix
../../modules/kmscon.nix
../../modules/printer.nix
../../modules/tailscale.nix
./modules/desktop.nix
./modules/nix-gaming.nix
@ -49,14 +50,6 @@
};
services = {
tailscale = {
enable = true;
extraUpFlags = [
"--login-server https://headscale.nelim.org"
"--operator=matt"
];
};
openssh = {
enable = true;
settings = {

11
modules/tailscale.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }: {
services = {
tailscale = {
enable = true;
extraUpFlags = [
"--login-server https://headscale.nelim.org"
"--operator=matt"
];
};
};
}