fix(hosts): pass inputs to extraArgs

This commit is contained in:
Sk7Str1p3 2026-05-07 21:19:57 +03:00
parent be81acd46b
commit 67babcf84d
No known key found for this signature in database
GPG key ID: 4DD995933D06D43B
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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: {