Compare commits

...

2 commits

Author SHA1 Message Date
08246cef5e
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???
2024-11-21 22:32:27 +01:00
73d5518dc2
fix: use QEMU options that actually work
Some checks failed
/ build (audiomenu) (push) Waiting to run
/ build (docs) (push) Waiting to run
/ build (jpassmenu) (push) Waiting to run
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Waiting to run
/ build (nvim) (push) Waiting to run
/ check (push) Has been cancelled
The previous options didn't have functional gpu acceleration
2024-11-21 22:31:29 +01:00
2 changed files with 8 additions and 5 deletions

View file

@ -7,7 +7,7 @@ _: {
pkgs.just
self'.packages.nvim
];
QEMU_OPTS_WL = "--enable-kvm -smp 4 -device virtio-gpu-rutabaga,gfxstream-vulkan=on,cross-domain=on,hostmem=2G,wsi=headless";
QEMU_OPTS_WL = "-enable-kvm -nodefaults -m 4G -cpu host -smp 4 -device virtio-gpu";
};
};
}

View file

@ -30,15 +30,18 @@ in
];
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"
] true;
}
(lib.mkIf (cfg.enable && cfg.styling.enable) { stylix.enable = true; })
(lib.mkIf cfg.enable {
programs = {
# Better cat (bat)
bat = {