modules: move colors to home/modules, explicitly import all

This commit is contained in:
2023-07-28 21:48:15 +02:00
parent 4456244f2d
commit fdace82c2f
5 changed files with 8 additions and 13 deletions

View File

@@ -1,9 +1,8 @@
{ pkgs, lib, extendedLib, inputs, machineVars, colors, ... } @ args: let
{ pkgs, lib, extendedLib, inputs, machineVars, ... } @ args: let
inherit (lib) mkForce mkIf optionals;
graphics = !machineVars.headless;
in {
inherit machineVars;
inherit colors;
imports = [
./shellOptions.nix
@@ -25,7 +24,8 @@ in {
./programs/tmux.nix
./programs/zsh
../modules
../modules/machineVars.nix
./modules/colors.nix
inputs.secrets.outputs.home-config
] ++ optionals graphics [