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:
parent
1347b0b468
commit
5ab4305f34
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue