fix(hosts): pass inputs to extraArgs
This commit is contained in:
parent
be81acd46b
commit
67babcf84d
2 changed files with 6 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
{
|
||||
${host} = inputs.nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit cfg;
|
||||
inherit cfg inputs;
|
||||
};
|
||||
modules = with inputs; [
|
||||
./${host}/configuration.nix
|
||||
|
|
|
|||
|
|
@ -30,9 +30,14 @@
|
|||
pkgs,
|
||||
cfg,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
|
||||
# Configure users' passwords as sops secret.
|
||||
sops.secrets = lib.mkMerge (
|
||||
map (user: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue