remove per-host nixpkgs setting

This commit is contained in:
Sean Buckley 2021-10-11 00:41:31 -04:00
parent 9fd970ce5b
commit d8def29cc4
5 changed files with 2 additions and 6 deletions

View file

@ -1,5 +1,4 @@
{ {
pkgs = "nixpkgs";
system = "x86_64-linux"; system = "x86_64-linux";
module = ./configuration.nix; module = ./configuration.nix;
} }

View file

@ -1,5 +1,4 @@
{ {
pkgs = "nixpkgs";
system = "x86_64-linux"; system = "x86_64-linux";
module = ./configuration.nix; module = ./configuration.nix;
} }

View file

@ -1,5 +1,4 @@
{ {
pkgs = "nixpkgs";
system = "x86_64-linux"; system = "x86_64-linux";
module = ./configuration.nix; module = ./configuration.nix;
} }

View file

@ -1,5 +1,4 @@
{ {
pkgs = "nixpkgs";
system = "x86_64-linux"; system = "x86_64-linux";
module = ./configuration.nix; module = ./configuration.nix;
} }

View file

@ -1,4 +1,4 @@
{ path, nixosModule, ... }@inputs: { path, nixpkgs, nixosModule }:
let let
hostMetadata = builtins.mapAttrs hostMetadata = builtins.mapAttrs
@ -6,7 +6,7 @@ let
(builtins.readDir path); (builtins.readDir path);
getHostConfig = hostName: hostMeta: getHostConfig = hostName: hostMeta:
inputs.${hostMeta.pkgs}.lib.nixosSystem nixpkgs.lib.nixosSystem
{ {
inherit (hostMeta) system; inherit (hostMeta) system;
modules = [ modules = [