fix: avoid inherit
This commit is contained in:
parent
8af91887ca
commit
6168b5e200
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ inArgs: hostname: hostOptions: let
|
||||||
else inArgs.nixpkgs.lib.nixosSystem;
|
else inArgs.nixpkgs.lib.nixosSystem;
|
||||||
in
|
in
|
||||||
nixosSystem {
|
nixosSystem {
|
||||||
specialArgs = {inherit inArgs;};
|
specialArgs = {inArgs = inArgs;};
|
||||||
modules = [
|
modules = [
|
||||||
../hosts/${hostname}
|
../hosts/${hostname}
|
||||||
#./debug.nix
|
#./debug.nix
|
||||||
|
|
|
@ -27,7 +27,7 @@ in {
|
||||||
#packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
#packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
||||||
|
|
||||||
# Your custom packages and modifications, exported as overlays
|
# Your custom packages and modifications, exported as overlays
|
||||||
overlays = import ./overlays {inherit inArgs;};
|
overlays = import ./overlays {inArgs = inArgs;};
|
||||||
|
|
||||||
# Reusable nixos modules you might want to export
|
# Reusable nixos modules you might want to export
|
||||||
# These are usually stuff you would upstream into nixpkgs
|
# These are usually stuff you would upstream into nixpkgs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue