mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
dont pass nixpkgs to ./hosts
This commit is contained in:
parent
6f3ab9c4bf
commit
47fd774f1a
2 changed files with 5 additions and 4 deletions
|
@ -45,8 +45,9 @@
|
|||
|
||||
nixosModules = mods // { default.imports = builtins.attrValues mods; };
|
||||
|
||||
nixosConfigurations =
|
||||
import ./hosts nixpkgs hardware self.nixosModules.default;
|
||||
nixosConfigurations = builtins.mapAttrs
|
||||
(_: nixpkgs.lib.nixosSystem)
|
||||
(import ./hosts hardware self.nixosModules.default);
|
||||
|
||||
apps = forAllSystems (system:
|
||||
import lib/apps.nix nixpkgs.legacyPackages.${system});
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
nixpkgs: hardware: nixosModule:
|
||||
hardware: nixosModule:
|
||||
with hardware;
|
||||
|
||||
builtins.mapAttrs
|
||||
|
||||
(name: { system, mods }: nixpkgs.lib.nixosSystem {
|
||||
(name: { system, mods }: {
|
||||
inherit system;
|
||||
modules = mods ++ [
|
||||
nixosModule
|
||||
|
|
Loading…
Reference in a new issue