nixos moment lmao

This commit is contained in:
Sakooooo 2024-11-07 20:45:50 +04:00
parent 3f7d96ce19
commit dce71aab4e
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -3,5 +3,8 @@ let cfg = config.modules.desktop.tailscale;
in {
options.modules.desktop.tailscale = { enable = lib.mkEnableOption false; };
config = lib.mkIf cfg.enable { services.tailscale = { enable = true; }; };
config = lib.mkIf cfg.enable {
services.tailscale = { enable = true; };
networking.firewall.checkReversePath = "loose";
};
}