🚀 add hyprland module

This commit is contained in:
Moritz Böhme 2022-11-25 10:24:29 +01:00
parent ad7ba759a6
commit 9918bfe0c6
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
11 changed files with 318 additions and 11 deletions

View file

@ -4,6 +4,7 @@
{ lib
, config
, pkgs
, inputs
, ...
}: {
imports = [
@ -13,7 +14,7 @@
# KERNEL
# HACK to get nvidia driver to build
# boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_latest;
# BOOT
boot = {
@ -59,12 +60,13 @@
'';
};
services.xserver.videoDrivers = [ "nvidia" ];
# services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl = {
enable = true;
driSupport32Bit = true;
driSupport = true;
};
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
services.xserver.xrandrHeads = [
{ output = "HDMI-1"; }
{