Fix secrets module
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user