1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 17:38:33 +02:00
home-manager/tests/modules
Chan Siu Man 1f5ef2bb41
broot: fix config file location (#3273)
At commit [5666e6b9](5666e6b9fb),
broot refactored the content of the file `/resources/default-conf.hjson`
into multiple files under the directory `/resources/default-conf`, using
[`imports`](5666e6b9fb/resources/default-conf/conf.hjson (L152-L165))
to refer to other configurations.

This refactoring is effective since version 1.14.0 of broot.

After this refactoring, in `xdg.configFile.broot` (which defaults to
`~/.config/broot`):
- we need to copy all potentially referenced files (all files under
  `resources/default-conf`),
- except we need to leave out `conf.hjson` which conflicts with the
  `conf.toml` generated by home-manager (because broot [accepts both conf.toml and conf.hjson](https://dystroy.org/broot/conf_file/))

To implement this, we use `symlinkJoin` to create the content of
`xdg.configFile.broot` by merging multiple sources.
2022-09-27 12:19:02 +02:00
..
accounts tests: allow testing assertions 2021-02-07 22:48:22 +01:00
config/i18n i18n: set the appropriate LOCALE_ARCHIVE_x_xx variable (#1659) 2021-01-23 15:56:38 +01:00
files files: assert that target files are unique 2021-06-27 17:10:45 +02:00
home-environment treewide: apply nixfmt to a few more files 2022-02-27 02:19:44 +01:00
i18n/input-method kime: Fix kime systemd service broken (#2621) 2022-01-17 13:53:42 -05:00
launchd launchd: initial support for LaunchAgents 2022-02-26 10:32:19 +01:00
misc editorconfig: add module (#3204) 2022-09-06 07:50:36 -06:00
programs broot: fix config file location (#3273) 2022-09-27 12:19:02 +02:00
services mpd: use XDG music dir if XDG user dirs are enabled 2022-09-16 13:41:40 +02:00
systemd xdg: add XDG_*_HOME variables to systemd.user.sessionVariables (#2790) 2022-03-17 22:22:53 -04:00
targets-darwin darwin: add support for 'defaults -currentHost' options 2022-07-24 15:17:21 +02:00
targets-linux xdg.systemDirs: init module (#1797) 2021-05-10 20:14:42 -04:00
xresources xresources: add missing test file 2020-06-28 11:23:34 +02:00