Fix secrets module

kasei-merge-2022-08
Oystein Kristoffer Tveit 2022-04-03 18:20:50 +02:00
parent 5bc2782cd6
commit 22a80c873b
3 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,6 @@
imports = [
./home.nix
secrets.outputs.nixosModule
];
};
};

View File

@ -1,4 +1,4 @@
{ pkgs, machineVars, ... } @ args: let
{ pkgs, machineVars, inputs, ... } @ args: let
inherit (pkgs) lib;
inherit (pkgs.lib) mkForce mkIf optionals;
graphics = !machineVars.headless;
@ -17,6 +17,7 @@ in {
./programs/tmux.nix
./programs/zsh
inputs.secrets.outputs.nixosModule
] ++ optionals graphics [
./misc/mimetypes.nix

View File

@ -113,7 +113,7 @@ in {
# TODO: figure out why specialArgs isn't accessible from the root home file.
users.h7x4 = import ../home.nix {
inherit pkgs;
inherit (specialArgs) machineVars;
inherit (specialArgs) machineVars inputs;
};
};