add tailscale
This commit is contained in:
@@ -32,6 +32,7 @@
|
|||||||
''
|
''
|
||||||
)
|
)
|
||||||
signal-desktop
|
signal-desktop
|
||||||
|
ktailctl
|
||||||
];
|
];
|
||||||
programs.librewolf.enable = true;
|
programs.librewolf.enable = true;
|
||||||
services.easyeffects.enable = true;
|
services.easyeffects.enable = true;
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ rec {
|
|||||||
};
|
};
|
||||||
laptop = true;
|
laptop = true;
|
||||||
gaming = true;
|
gaming = true;
|
||||||
|
enableTailscale = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.vmVariant = {
|
virtualisation.vmVariant = {
|
||||||
|
|||||||
@@ -19,5 +19,6 @@
|
|||||||
desktop/plasma.nix
|
desktop/plasma.nix
|
||||||
desktop/touchpad.nix
|
desktop/touchpad.nix
|
||||||
desktop/pulseaudio.nix
|
desktop/pulseaudio.nix
|
||||||
|
desktop/tailscale.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
options.lumpiasty.enableTailscale = lib.mkEnableOption "Enable Tailscale VPN";
|
||||||
|
|
||||||
|
config = lib.mkIf config.lumpiasty.enableTailscale {
|
||||||
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
extraSetFlags = [ "--operator=user" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user