This commit is contained in:
Sakooooo 2024-11-07 20:39:12 +04:00
parent 369e9fa43b
commit 3f7d96ce19
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -3,7 +3,5 @@ let cfg = config.modules.desktop.tailscale;
in {
options.modules.desktop.tailscale = { enable = lib.mkEnableOption false; };
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [ tailscale ];
};
config = lib.mkIf cfg.enable { services.tailscale = { enable = true; }; };
}