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