mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +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; };
|
nixosModules = mods // { default.imports = builtins.attrValues mods; };
|
||||||
|
|
||||||
nixosConfigurations =
|
nixosConfigurations = builtins.mapAttrs
|
||||||
import ./hosts nixpkgs hardware self.nixosModules.default;
|
(_: nixpkgs.lib.nixosSystem)
|
||||||
|
(import ./hosts hardware self.nixosModules.default);
|
||||||
|
|
||||||
apps = forAllSystems (system:
|
apps = forAllSystems (system:
|
||||||
import lib/apps.nix nixpkgs.legacyPackages.${system});
|
import lib/apps.nix nixpkgs.legacyPackages.${system});
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
nixpkgs: hardware: nixosModule:
|
hardware: nixosModule:
|
||||||
with hardware;
|
with hardware;
|
||||||
|
|
||||||
builtins.mapAttrs
|
builtins.mapAttrs
|
||||||
|
|
||||||
(name: { system, mods }: nixpkgs.lib.nixosSystem {
|
(name: { system, mods }: {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = mods ++ [
|
modules = mods ++ [
|
||||||
nixosModule
|
nixosModule
|
||||||
|
|
Loading…
Reference in a new issue