Fix secrets module

This commit is contained in:
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 = [ imports = [
./home.nix ./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;
inherit (pkgs.lib) mkForce mkIf optionals; inherit (pkgs.lib) mkForce mkIf optionals;
graphics = !machineVars.headless; graphics = !machineVars.headless;
@ -17,6 +17,7 @@ in {
./programs/tmux.nix ./programs/tmux.nix
./programs/zsh ./programs/zsh
inputs.secrets.outputs.nixosModule
] ++ optionals graphics [ ] ++ optionals graphics [
./misc/mimetypes.nix ./misc/mimetypes.nix

View File

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