Remove inputs from module inputs

This commit is contained in:
Sandro - 2023-04-04 20:48:48 +02:00
parent 5b5d8eb4dc
commit 6df302fdd7
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ config, inputs, lib, pkgs, zentralwerk, ... }:
{ config, lib, nixos, pkgs, zentralwerk, ... }:
# this file contains default configuration that may be turned on depending on other config settings.
# options should go to modules.
@ -81,11 +81,11 @@
randomizedDelaySec = "6h";
};
nixPath = [
"nixpkgs=${builtins.unsafeDiscardStringContext inputs.nixos}"
"nixos=${builtins.unsafeDiscardStringContext inputs.nixos}"
"nixpkgs=${builtins.unsafeDiscardStringContext nixos}"
"nixos=${builtins.unsafeDiscardStringContext nixos}"
"nixos-config=/you/shall/deploy/from/the/flake"
];
registry.nixpkgs.flake = inputs.nixos;
registry.nixpkgs.flake = nixos;
settings = {
builders-use-substitutes = true; # TODO: move
connect-timeout = 20;

View File

@ -265,7 +265,7 @@
modules = [
(_: {
_module.args = {
inherit hostRegistry inputs zentralwerk;
inherit hostRegistry nixos zentralwerk;
};
nixpkgs.overlays = overlayList;