From 9e96ff6f2117983165234bde3cf0b446a628e8e5 Mon Sep 17 00:00:00 2001 From: Vivian Roest Date: Sat, 22 Apr 2023 17:58:40 +0200 Subject: [PATCH] fix wayland + nvidia for eevee --- nixos/hosts/thalassa/eevee/configuration.nix | 2 +- nixos/hosts/thalassa/eevee/hardware.nix | 4 +++- nixos/hosts/thalassa/eevee/home/theme.nix | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/hosts/thalassa/eevee/configuration.nix b/nixos/hosts/thalassa/eevee/configuration.nix index 18acb8a2..355b1712 100644 --- a/nixos/hosts/thalassa/eevee/configuration.nix +++ b/nixos/hosts/thalassa/eevee/configuration.nix @@ -26,7 +26,7 @@ }; }; - # fileSystems."/".options = [ "compress=zstd" ]; + fileSystems."/".options = [ "compress=zstd" ]; # Set your time zone. time.timeZone = "Europe/Amsterdam"; diff --git a/nixos/hosts/thalassa/eevee/hardware.nix b/nixos/hosts/thalassa/eevee/hardware.nix index 65d17ad5..d68fcc0a 100644 --- a/nixos/hosts/thalassa/eevee/hardware.nix +++ b/nixos/hosts/thalassa/eevee/hardware.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: { +{ pkgs, config, ... }: { hardware.enableAllFirmware = true; hardware.bluetooth.enable = true; @@ -6,6 +6,8 @@ services.hardware.bolt.enable = true; hardware.opengl.enable = true; + hardware.nvidia.modesetting.enable = true; + hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable; services.udev.packages = with pkgs; [ wooting-udev-rules ]; diff --git a/nixos/hosts/thalassa/eevee/home/theme.nix b/nixos/hosts/thalassa/eevee/home/theme.nix index f48e44c8..8aca1e7c 100644 --- a/nixos/hosts/thalassa/eevee/home/theme.nix +++ b/nixos/hosts/thalassa/eevee/home/theme.nix @@ -4,9 +4,9 @@ let cursorTheme = config.home.pointerCursor.name; in { home.pointerCursor = { - name = "Bibata_Ghost"; + name = "Bibata-Modern-Classic"; size = 24; - package = pkgs.bibata-cursors-translucent; + package = pkgs.bibata-cursors; }; gtk = {