vars: set persist to true if the script is empty

This commit is contained in:
lassulus
2025-01-22 18:11:40 +01:00
committed by clan-bot
parent 673935785d
commit e4826b5c53

View File

@@ -285,7 +285,7 @@ in
```
'';
type = bool;
default = true;
default = generator.config.script == "";
};
description = lib.mkOption {
description = ''