1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

pistol: change config path for macOS

This commit is contained in:
jupblb 2025-09-08 10:45:54 +02:00 committed by Austin Horstman
parent b5cb3a5daa
commit e0154ae416
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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