mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
gh-dash: fix
Missing mkIf
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user