gh: fix attribute paths
This fixes some attribute paths to match recent changes in Nixpkgs.
This commit is contained in:
parent
8f24ed4c7f
commit
7e80e034cc
|
@ -45,7 +45,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [ pkgs.gitAndTools.gh ];
|
home.packages = [ pkgs.gh ];
|
||||||
|
|
||||||
xdg.configFile."gh/config.yml".text =
|
xdg.configFile."gh/config.yml".text =
|
||||||
builtins.toJSON { inherit (cfg) aliases editor gitProtocol; };
|
builtins.toJSON { inherit (cfg) aliases editor gitProtocol; };
|
||||||
|
|
|
@ -8,13 +8,8 @@
|
||||||
editor = "vim";
|
editor = "vim";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays =
|
||||||
(self: super: {
|
[ (self: super: { gh = pkgs.writeScriptBin "dummy-gh" ""; }) ];
|
||||||
gitAndTools = super.gitAndTools // {
|
|
||||||
gh = pkgs.writeScriptBin "dummy-gh" "";
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nmt.script = ''
|
nmt.script = ''
|
||||||
assertFileExists home-files/.config/gh/config.yml
|
assertFileExists home-files/.config/gh/config.yml
|
||||||
|
|
Loading…
Reference in a new issue