From de4e01ee103fe9f8b7872f213af923b09530dd59 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Thu, 11 Jan 2024 13:26:49 +0800 Subject: [PATCH] fix(gyroflow): add enable check to persist --- home/gyroflow/nixos.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/gyroflow/nixos.nix b/home/gyroflow/nixos.nix index 34fe3356..94e86471 100644 --- a/home/gyroflow/nixos.nix +++ b/home/gyroflow/nixos.nix @@ -14,6 +14,6 @@ in { { passthrough.gyroflow = cfg; } ]; - users.home.persist.directories = [ ".config/Gyroflow" ]; + users.home.persist.directories = mkIf cfg.enable [ ".config/Gyroflow" ]; }; }