1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/modules
Evgeny Zislis 0c7c71a212
oh-my-posh: add cache clearing on package version changes (#7757)
* add cache clearing for oh-my-posh package changes

Using oh-my-posh creates script files in `~/.cache/oh-my-posh` which include an old derivation path. Once that path is garbage collected, oh-my-posh stops working preventing to successfully create new shells.

```
bash: /nix/store/5ddhz8nsahf1d03smzx2xpmynjspjfh8-oh-my-posh-26.8.0/bin/oh-my-posh: No such file or directory
```

* fix oh-my-posh package reference in cache clear

Use the configured value from programs.oh-my-posh.package as the value of oh-my-posh to compare during cache cleanup.
2025-09-09 21:15:16 -05:00
..
accounts accounts.email: add option to disable an account 2025-08-07 14:08:46 -05:00
config home-cursor: sway depend on cfg.size instead of gtk.cursorTheme.size (#7176) 2025-05-31 19:31:59 -05:00
files files: show better error when file would be clobbered (#7348) 2025-06-30 21:16:25 -05:00
i18n/input-method fcitx5: migrate to qt6Packages 2025-08-26 21:19:50 -05:00
launchd launchd+targets/darwin: Escape XML in plists (#7356) 2025-08-09 11:22:08 -05:00
lib treewide: nix fmt 2025-09-07 09:28:15 -05:00
lib-bash home-manager: move profile management 2025-01-03 11:22:59 +01:00
misc kitty: add quick-access-terminal configuration 2025-09-09 13:53:07 -05:00
po Translate using Weblate (German) 2025-09-05 13:43:59 +02:00
programs oh-my-posh: add cache clearing on package version changes (#7757) 2025-09-09 21:15:16 -05:00
services hyprsunset: fixed evaluation when hyprland package is null 2025-09-07 09:44:28 -05:00
targets launchd+targets/darwin: Escape XML in plists (#7356) 2025-08-09 11:22:08 -05:00
dbus.nix dbus: Create with pacakges options (#7064) 2025-05-15 12:59:12 -05:00
default.nix treewide: format with latest stable formatter 2025-07-23 10:27:52 -05:00
files.nix files: add home.file.<name>.ignorelinks 2025-05-11 18:53:40 -05:00
home-environment.nix home-environment: add home.checks (#7407) 2025-07-25 13:01:12 -05:00
manual.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
modules.nix xdg-terminal-exec: make sure the module is imported 2025-07-27 07:02:11 +02:00
systemd-activate.sh systemd: don't try to restart templates 2024-06-26 18:14:48 +02:00
systemd.nix treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
wayland.nix wayland: create tray.target if xsession is not enabled (#6332) 2025-02-06 22:50:03 +01:00
xresources.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
xsession.nix xsession: add xdg-desktop-autostart to requires of hm-graphical-session (#7108) 2025-05-28 22:39:21 -05:00