add tailscale
This commit is contained in:
@@ -18,6 +18,7 @@ in
|
|||||||
(import "${home-manager}/nixos")
|
(import "${home-manager}/nixos")
|
||||||
./user/stormwind/master.nix
|
./user/stormwind/master.nix
|
||||||
./sshd.nix
|
./sshd.nix
|
||||||
|
./tailscale.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|||||||
10
tailscale.nix
Normal file
10
tailscale.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# make the tailscale command usable to users
|
||||||
|
environment.systemPackages = [ pkgs.tailscale ];
|
||||||
|
|
||||||
|
# enable the tailscale service
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user