feat: make tailscale module
This commit is contained in:
parent
55dc691b8e
commit
0668c27081
2 changed files with 12 additions and 8 deletions
|
@ -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
11
modules/tailscale.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }: {
|
||||
services = {
|
||||
tailscale = {
|
||||
enable = true;
|
||||
extraUpFlags = [
|
||||
"--login-server https://headscale.nelim.org"
|
||||
"--operator=matt"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue