config: remove inputs extraArgs

It isn't exactly used much and also it is not really meant to be used in
that way even though it is still Nix data.
This commit is contained in:
Gabriel Arazas 2023-11-07 08:21:48 +08:00
parent 71640c761c
commit 051e7fb3c4
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 4 additions and 5 deletions

View File

@ -124,7 +124,6 @@
extraArgs = {
inherit (inputs) nix-colors;
inherit inputs;
# This is a variable that is used to check whether the module is
# exported or not. Useful for configuring parts of the configuration

View File

@ -1,4 +1,4 @@
{ lib, config, pkgs, inputs, modulesPath, ... }:
{ lib, config, pkgs, ... }:
# Since this will be exported as an installer ISO, you'll have to keep in mind
# about the added imports from nixos-generators. In this case, it simply adds
@ -11,7 +11,7 @@
# Store the source code in a easy-to-locate path.
contents = [{
source = inputs.self;
source = ../..;
target = "/etc/nixos/";
}];
};

View File

@ -1,4 +1,4 @@
{ lib, config, pkgs, inputs, modulesPath, ... }:
{ lib, config, pkgs, modulesPath, ... }:
# Since this will be exported as an installer ISO, you'll have to keep in mind
# about the added imports from nixos-generators. In this case, it simply adds
@ -13,7 +13,7 @@
# Put the source code somewhere easy to see.
contents = [{
source = inputs.self;
source = ../..;
target = "/etc/nixos";
}];
};