feat: correctly pass overlays to HM configurations

Add `zig master` and `neovim-nightly` from top-level `flake` to `cheetah` HM configuration
This commit is contained in:
reo101 2022-11-21 14:42:45 +02:00
parent 0fbfd6973e
commit ef283b9c1f
2 changed files with 7 additions and 19 deletions

View file

@ -26,6 +26,6 @@
backupFileExtension = "hm-bak";
# useGlobalPkgs = true;
# extraOptions = { inherit inputs; };
extraSpecialArgs = { inherit inputs; };
};
}

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ inputs, lib, config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
@ -49,32 +49,20 @@
# Dhall
dhall
dhall-lsp-server
];
# nixpkgs = {
# overlays = [
# inputs.neovim-nightly-overlay.overlay
# inputs.zig-overlay.overlay
# ];
#
# config.allowUnfree = true;
# };
# Zig
zigpkgs.master
];
nixpkgs = {
overlays = [
(import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
}))
inputs.neovim-nightly-overlay.overlay
inputs.zig-overlay.overlays.default
];
config.allowUnfree = true;
};
# programs.zig = {
# enable = true;
# package = pkgs.zig;
# };
programs.neovim = {
enable = true;
package = pkgs.neovim-nightly;