stylix fix for vps

This commit is contained in:
Danilo Reyes
2026-03-19 04:33:53 -06:00
parent 684904a676
commit b4ee7e7ebf

View File

@@ -15,6 +15,7 @@ let
"pokemon-colorscripts" "pokemon-colorscripts"
] null inputs.jawz-scripts.packages; ] null inputs.jawz-scripts.packages;
shellType = if osConfig == null then preferredShell else osConfig.my.shell.type; shellType = if osConfig == null then preferredShell else osConfig.my.shell.type;
stylixEnabled = if osConfig == null then false else lib.hasAttrByPath [ "my" "stylix" ] osConfig;
commonInit = commonInit =
lib.optionalString (pokemon-colorscripts != null) '' lib.optionalString (pokemon-colorscripts != null) ''
${pokemon-colorscripts}/bin/pokemon-colorscripts -r --no-title ${pokemon-colorscripts}/bin/pokemon-colorscripts -r --no-title
@@ -29,8 +30,11 @@ let
}; };
in in
{ {
imports = lib.optionals (osConfig != null) [ imports =
lib.optionals (osConfig != null) [
./jawz-home.nix ./jawz-home.nix
]
++ lib.optionals stylixEnabled [
./stylix-home.nix ./stylix-home.nix
]; ];
home.stateVersion = "23.05"; home.stateVersion = "23.05";