stylix fix for vps
This commit is contained in:
@@ -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,10 +30,13 @@ let
|
|||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = lib.optionals (osConfig != null) [
|
imports =
|
||||||
./jawz-home.nix
|
lib.optionals (osConfig != null) [
|
||||||
./stylix-home.nix
|
./jawz-home.nix
|
||||||
];
|
]
|
||||||
|
++ lib.optionals stylixEnabled [
|
||||||
|
./stylix-home.nix
|
||||||
|
];
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
programs = {
|
programs = {
|
||||||
direnv = {
|
direnv = {
|
||||||
|
|||||||
Reference in New Issue
Block a user