diff --git a/flake.nix b/flake.nix index a0811711..ddfcac34 100644 --- a/flake.nix +++ b/flake.nix @@ -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 diff --git a/hosts/bootstrap/default.nix b/hosts/bootstrap/default.nix index 4c05c174..c23c79c6 100644 --- a/hosts/bootstrap/default.nix +++ b/hosts/bootstrap/default.nix @@ -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/"; }]; }; diff --git a/hosts/graphical-installer/default.nix b/hosts/graphical-installer/default.nix index 90a1a021..a173944d 100644 --- a/hosts/graphical-installer/default.nix +++ b/hosts/graphical-installer/default.nix @@ -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"; }]; };