diff --git a/nixos/machines/nixquick.nix b/nixos/machines/nixquick.nix index 3c9f6b83..12ba5b32 100644 --- a/nixos/machines/nixquick.nix +++ b/nixos/machines/nixquick.nix @@ -12,6 +12,7 @@ myModules.gitea-runner.enable = true; myModules.vscode.enable = true; myModules.kat.enable = true; + myModules.nvidia.enable = true; networking.hostName = "nixquick"; @@ -22,14 +23,6 @@ boot.extraModulePackages = [ ]; boot.loader.systemd-boot.enable = true; - # install nvidia drivers in addition to intel one - hardware.graphics.extraPackages = [ pkgs.linuxPackages.nvidia_x11.out ]; - hardware.graphics.extraPackages32 = [ pkgs.linuxPackages.nvidia_x11.lib32 ]; - hardware.graphics.enable32Bit = true; - services.xserver = { - videoDrivers = [ "nvidia" ]; - }; - hardware.nvidia.modesetting.enable = true; # This also enables v4l2loopback