fix(gyroflow): add enable check to persist

This commit is contained in:
514fpv 2024-01-11 13:26:49 +08:00
parent 55435e6da6
commit de4e01ee10
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -14,6 +14,6 @@ in {
{ passthrough.gyroflow = cfg; }
];
users.home.persist.directories = [ ".config/Gyroflow" ];
users.home.persist.directories = mkIf cfg.enable [ ".config/Gyroflow" ];
};
}