mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-15 17:50:53 +00:00
Fix path to Kitty theme files (#3764)
The theme files were moved to `share/kitty-themes` in this nixpkgs
commit:
3e29ae4159
This commit is contained in:
parent
46f637bd80
commit
7fe539dfbb
1 changed files with 3 additions and 2 deletions
|
@ -134,9 +134,10 @@ in {
|
|||
'')
|
||||
|
||||
(optionalString (cfg.theme != null) ''
|
||||
include ${pkgs.kitty-themes}/${
|
||||
include ${pkgs.kitty-themes}/share/kitty-themes/${
|
||||
(head (filter (x: x.name == cfg.theme) (builtins.fromJSON
|
||||
(builtins.readFile "${pkgs.kitty-themes}/themes.json")))).file
|
||||
(builtins.readFile
|
||||
"${pkgs.kitty-themes}/share/kitty-themes/themes.json")))).file
|
||||
}
|
||||
'')
|
||||
(toKittyConfig cfg.settings)
|
||||
|
|
Loading…
Reference in a new issue