From 67babcf84daa06522b9fc032968368dbad5a1576 Mon Sep 17 00:00:00 2001 From: Sk7Str1p3 Date: Thu, 7 May 2026 21:19:57 +0300 Subject: [PATCH] fix(hosts): pass `inputs` to `extraArgs` --- hosts/default.nix | 2 +- users/default.nix | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/default.nix b/hosts/default.nix index 6aa3838..c3f7c25 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -32,7 +32,7 @@ { ${host} = inputs.nixpkgs.lib.nixosSystem { specialArgs = { - inherit cfg; + inherit cfg inputs; }; modules = with inputs; [ ./${host}/configuration.nix diff --git a/users/default.nix b/users/default.nix index 2c64351..18e6e26 100644 --- a/users/default.nix +++ b/users/default.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: {