fix(minecraft): add check to persistence

This commit is contained in:
514fpv 2024-01-05 22:26:34 +08:00
parent cc2b1a7125
commit e761b63a17
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -14,6 +14,6 @@ in {
{ passthrough.minecraft = cfg; }
];
users.home.persist.directories = [ ".local/share/PrismLauncher" ];
users.home.persist.directories = mkIf cfg.enable [ ".local/share/PrismLauncher" ];
};
}