Fix secrets module
This commit is contained in:
parent
5bc2782cd6
commit
22a80c873b
@ -100,7 +100,6 @@
|
||||
|
||||
imports = [
|
||||
./home.nix
|
||||
secrets.outputs.nixosModule
|
||||
];
|
||||
};
|
||||
};
|
||||
|
3
home.nix
3
home.nix
@ -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
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user