vm 3d accel issues, gonna test on the real thing

This commit is contained in:
mehbark 2023-08-15 10:20:45 -04:00
parent c97398d399
commit 0b3a0c34ed
2 changed files with 24 additions and 18 deletions

View file

@ -12,10 +12,10 @@ in
extraOptions = ''
experimental-features = nix-command flakes
'';
# settings = {
# substituters = ["https://hyprland.cachix.org"];
# trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
# };
settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
};
imports =
@ -57,7 +57,7 @@ in
};
# Enable the X11 windowing system.
services.xserver.enable = true;
services.xserver.enable = use-kde;
# Enable the KDE Plasma Desktop Environment.
services.xserver.displayManager.sddm.enable = use-kde;
@ -133,7 +133,6 @@ in
neovim
wget
unzip
wayland
];
# Some programs need SUID wrappers, can be configured further or are

View file

@ -108,15 +108,22 @@ in
extraConfig = import ./kitty.conf.nix;
};
xsession.windowManager.xmonad = if use-kde then {
# xsession.windowManager.xmonad = if use-kde then {
# enable = true;
# config = pkgs.writeText "xmonad.hs" ''
# import XMonad
# main = xmonad defaultConfig
# { terminal = "kitty"
# , modMask = mod4Mask
# , borderWidth = 3
# }
# '';
# } else {};
wayland.windowManager.hyprland = if use-kde
then {}
else {
enable = true;
config = pkgs.writeText "xmonad.hs" ''
import XMonad
main = xmonad defaultConfig
{ terminal = "kitty"
, modMask = mod4Mask
, borderWidth = 3
}
'';
} else {};
enableNvidiaPatches = true;
};
}