1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-18 14:28:15 +00:00

gh-dash: fix

Missing mkIf
This commit is contained in:
Austin Horstman 2025-03-08 00:05:57 -06:00
parent 1347b0b468
commit 5ab4305f34

View file

@ -34,7 +34,7 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.packages = lib.mkIf (cfg.package != null) [ cfg.package ]; home.packages = lib.mkIf (cfg.package != null) [ cfg.package ];
programs.gh.extensions = (cfg.package != null) [ cfg.package ]; programs.gh.extensions = lib.mkIf (cfg.package != null) [ cfg.package ];
xdg.configFile."gh-dash/config.yml".source = xdg.configFile."gh-dash/config.yml".source =
yamlFormat.generate "gh-dash-config.yml" cfg.settings; yamlFormat.generate "gh-dash-config.yml" cfg.settings;