mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-18 22:33:00 +00:00
gh-dash: fix
Missing mkIf
This commit is contained in:
parent
1347b0b468
commit
5ab4305f34
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ in {
|
|||
config = lib.mkIf cfg.enable {
|
||||
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 =
|
||||
yamlFormat.generate "gh-dash-config.yml" cfg.settings;
|
||||
|
|
Loading…
Add table
Reference in a new issue