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 {
|
${host} = inputs.nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit cfg;
|
inherit cfg inputs;
|
||||||
};
|
};
|
||||||
modules = with inputs; [
|
modules = with inputs; [
|
||||||
./${host}/configuration.nix
|
./${host}/configuration.nix
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,14 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
cfg,
|
cfg,
|
||||||
config,
|
config,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
inputs.home-manager.nixosModules.default
|
||||||
|
];
|
||||||
|
|
||||||
# Configure users' passwords as sops secret.
|
# Configure users' passwords as sops secret.
|
||||||
sops.secrets = lib.mkMerge (
|
sops.secrets = lib.mkMerge (
|
||||||
map (user: {
|
map (user: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue