mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove per-host nixpkgs setting
This commit is contained in:
parent
9fd970ce5b
commit
d8def29cc4
5 changed files with 2 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
pkgs = "nixpkgs";
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
module = ./configuration.nix;
|
module = ./configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
pkgs = "nixpkgs";
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
module = ./configuration.nix;
|
module = ./configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
pkgs = "nixpkgs";
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
module = ./configuration.nix;
|
module = ./configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
pkgs = "nixpkgs";
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
module = ./configuration.nix;
|
module = ./configuration.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue