This commit is contained in:
Sakooooo 2024-11-07 20:32:49 +04:00
parent 36c5e38434
commit 4b2d8f07d7
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,7 +1,7 @@
{ outputs, options, config, lib, pkgs, ... }:
let cfg = config.modules.desktop.wireguard;
let cfg = config.modules.desktop.tailscale;
in {
options.modules.desktop.wireguard = { enable = lib.mkEnableOption false; };
options.modules.desktop.tailscale = { enable = lib.mkEnableOption false; };
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [ tailscale ];