Skip to content

Commit

Permalink
fix: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed May 23, 2024
1 parent f34272f commit ef83667
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/home-manager/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
inputs: args: {
inputs:
{ lib, pkgs, ... }@args: {
imports = import ../lib/mkImports.nix (args // { inherit inputs; }) ./.;
}
2 changes: 1 addition & 1 deletion modules/lib/mkImports.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# this imports all files in a directory (besides default.nix)
# with our modified arguments
{ lib, inputs, ... }@args:
{ lib, pkgs, inputs, ... }@args:
dir:
let
# instead of letting `evalModules` pass arguments to each file
Expand Down

0 comments on commit ef83667

Please sign in to comment.