make tailscale module in desktop
This commit is contained in:
parent
7f1249bc93
commit
36c5e38434
1 changed files with 9 additions and 0 deletions
9
modules/desktop/tailscale/default.nix
Normal file
9
modules/desktop/tailscale/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ outputs, options, config, lib, pkgs, ... }:
|
||||
let cfg = config.modules.desktop.wireguard;
|
||||
in {
|
||||
options.modules.desktop.wireguard = { enable = lib.mkEnableOption false; };
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [ tailscale ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue