🚀 improve hyprland experience

This commit is contained in:
Moritz Böhme 2022-11-26 16:02:02 +01:00
parent df54824957
commit 1b536e52b5
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
9 changed files with 263 additions and 182 deletions

View file

@ -12,8 +12,9 @@
./hardware-configuration.nix
];
my.programs.hyprland.nvidiaSupport = true;
# KERNEL
# HACK to get nvidia driver to build
boot.kernelPackages = pkgs.linuxPackages_latest;
# BOOT
@ -59,14 +60,13 @@
nohook resolv.conf
'';
};
# services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.modesetting.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl = {
enable = true;
driSupport32Bit = true;
driSupport = true;
};
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
services.xserver.xrandrHeads = [
{ output = "HDMI-1"; }
{

View file

@ -16,12 +16,6 @@
# certainty = 3.0;
# };
my.programs = {
bspwm.enable = false;
hyprland.enable = true;
};
# BOOT
boot = {
supportedFilesystems = [ "btrfs" ];