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

View file

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