Several changes:

- Change secret outputs into home-manager and nixos specific
- Specifiy home-manager module import in flake.
This commit is contained in:
2022-08-19 14:50:03 +02:00
parent 011b20e05e
commit 22419caadd
4 changed files with 37 additions and 28 deletions

View File

@@ -1,8 +1,11 @@
{ pkgs, config, inputs, ... } @ args: let
{ pkgs, inputs, machineVars, colors, ... } @ args: let
inherit (pkgs) lib;
inherit (pkgs.lib) mkForce mkIf optionals;
graphics = !config.machineVars.headless;
graphics = !machineVars.headless;
in {
inherit machineVars;
inherit colors;
imports = [
./shellOptions.nix
./packages.nix
@@ -23,7 +26,7 @@ in {
../modules
inputs.secrets.outputs.nixosModule
inputs.secrets.outputs.home-config
] ++ optionals graphics [
./config/gtk.nix
@@ -45,8 +48,6 @@ in {
./services/sxhkd.nix
];
inherit (config) machineVars colors;
home = {
stateVersion = "22.05";
username = "h7x4";