This commit is contained in:
rasmus-kirk
2025-06-01 21:20:55 +02:00
parent 56884039bf
commit c423ae2a04
2 changed files with 207 additions and 203 deletions
+6 -2
View File
@@ -116,8 +116,12 @@ in {
};
config = let
host = if cfg.vpn.enable then "192.168.15.1" else "127.0.0.1";
in mkIf (nixarr.enable && cfg.enable) {
host =
if cfg.vpn.enable
then "192.168.15.1"
else "127.0.0.1";
in
mkIf (nixarr.enable && cfg.enable) {
assertions = [
{
assertion = cfg.vpn.enable -> nixarr.vpn.enable;