From cabd848fb75fa3b341b07cf2f2836a3906b6cc3e Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 22 Jan 2025 18:11:40 +0100 Subject: [PATCH] vars: set persist to true if the script is empty --- nixosModules/clanCore/vars/interface.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixosModules/clanCore/vars/interface.nix b/nixosModules/clanCore/vars/interface.nix index 4f179380e..dec367d47 100644 --- a/nixosModules/clanCore/vars/interface.nix +++ b/nixosModules/clanCore/vars/interface.nix @@ -285,7 +285,7 @@ in ``` ''; type = bool; - default = true; + default = generator.config.script == ""; }; description = lib.mkOption { description = ''