From e4826b5c537c2956114fcfa20e0a9f8bbc801803 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 = ''