mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
gh: fix attribute paths
This fixes some attribute paths to match recent changes in Nixpkgs.
This commit is contained in:
parent
8f24ed4c7f
commit
7e80e034cc
2 changed files with 3 additions and 8 deletions
|
@ -45,7 +45,7 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [ pkgs.gitAndTools.gh ];
|
||||
home.packages = [ pkgs.gh ];
|
||||
|
||||
xdg.configFile."gh/config.yml".text =
|
||||
builtins.toJSON { inherit (cfg) aliases editor gitProtocol; };
|
||||
|
|
|
@ -8,13 +8,8 @@
|
|||
editor = "vim";
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
gitAndTools = super.gitAndTools // {
|
||||
gh = pkgs.writeScriptBin "dummy-gh" "";
|
||||
};
|
||||
})
|
||||
];
|
||||
nixpkgs.overlays =
|
||||
[ (self: super: { gh = pkgs.writeScriptBin "dummy-gh" ""; }) ];
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/gh/config.yml
|
||||
|
|
Loading…
Reference in a new issue