diff --git a/modules/programs/pistol.nix b/modules/programs/pistol.nix index 3c6087e4d..4b8cb8a98 100644 --- a/modules/programs/pistol.nix +++ b/modules/programs/pistol.nix @@ -94,7 +94,7 @@ in } (mkIf (cfg.associations != [ ] && pkgs.stdenv.hostPlatform.isDarwin) { - home.file."Library/Application Support/pistol/pistol.conf".text = configFile; + home.file."Library/Preferences/pistol/pistol.conf".text = configFile; }) (mkIf (cfg.associations != [ ] && !pkgs.stdenv.hostPlatform.isDarwin) { diff --git a/tests/modules/programs/pistol/associations.nix b/tests/modules/programs/pistol/associations.nix index 346d2193a..2a2b6cfbb 100644 --- a/tests/modules/programs/pistol/associations.nix +++ b/tests/modules/programs/pistol/associations.nix @@ -27,7 +27,7 @@ fpath .*.md$ sh: bat --paging=never --color=always %pistol-filename% | head -8''; path = if pkgs.stdenv.hostPlatform.isDarwin then - "home-files/Library/Application Support/pistol/pistol.conf" + "home-files/Library/Preferences/pistol/pistol.conf" else "home-files/.config/pistol/pistol.conf"; in