tailscale: refactor default.nix into separate file
This commit is contained in:
parent
9f1ea7f81e
commit
0748e1b111
2 changed files with 12 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.tailscale = {
|
imports = [
|
||||||
enable = true;
|
./main.nix
|
||||||
extraDaemonFlags = [ "--no-logs-no-support" ];
|
./ssh.nix
|
||||||
};
|
];
|
||||||
}
|
}
|
||||||
8
modules/nixos/services/tailscale/main.nix
Normal file
8
modules/nixos/services/tailscale/main.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
extraDaemonFlags = [ "--no-logs-no-support" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue