diff --git a/home/minecraft/nixos.nix b/home/minecraft/nixos.nix index ca2646a6..d15d957d 100644 --- a/home/minecraft/nixos.nix +++ b/home/minecraft/nixos.nix @@ -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" ]; }; }