fix: disable stylix nixvim styling in hm config
All checks were successful
/ check (push) Successful in 47s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s

Apparently its still being styled???
This commit is contained in:
Jalil David Salamé Messina 2024-11-21 21:47:17 +01:00
parent 73d5518dc2
commit 08246cef5e
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -30,15 +30,18 @@ in
]; ];
config = lib.mkMerge [ config = lib.mkMerge [
{ (lib.mkIf (cfg.enable && cfg.styling.enable) {
stylix = {
enable = true;
targets.nixvim.enable = false; # I prefer doing it myself
};
})
(lib.mkIf cfg.enable {
nix.settings.use-xdg-base-directories = fromOs [ nix.settings.use-xdg-base-directories = fromOs [
"nix" "nix"
"settings" "settings"
"use-xdg-base-directories" "use-xdg-base-directories"
] true; ] true;
}
(lib.mkIf (cfg.enable && cfg.styling.enable) { stylix.enable = true; })
(lib.mkIf cfg.enable {
programs = { programs = {
# Better cat (bat) # Better cat (bat)
bat = { bat = {