This commit is contained in:
David Arnold 2021-07-16 16:01:25 -05:00 committed by David Arnold
parent 6c25e77f6f
commit a088edd77a
4 changed files with 82 additions and 78 deletions

View file

@ -73,7 +73,8 @@
let
bud' = bud self; # rebind to access self.budModules
in
digga.lib.mkFlake {
digga.lib.mkFlake
{
inherit self inputs;
channelsConfig = { allowUnfree = true; };

View file

@ -2,7 +2,9 @@ final: prev: {
# Since: https://github.com/NixOS/nixpkgs/pull/126137
nix-direnv =
if builtins.hasAttr "enableFlakes" prev.nix-direnv.override.__functionArgs
then prev.nix-direnv.override {
then
prev.nix-direnv.override
{
enableFlakes = true;
}
else prev.nix-direnv;

View file

@ -9,7 +9,8 @@ let
docs = pkgWithCategory "docs";
devos = pkgWithCategory "devos";
in {
in
{
_file = toString ./.;
imports = [ "${extraModulesPath}/git/hooks.nix" ];
@ -35,7 +36,7 @@ in {
];
commands = with pkgs; [
(devos (bud {inherit pkgs;}) )
(devos (bud { inherit pkgs; }))
(devos nixUnstable)
(devos agenix)
{