about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2025-02-10 19:38:50 +0100
committerEmile <git@emile.space>2025-02-10 19:38:50 +0100
commit2079bdcf921bba3f216eb1e7582d9fa5f03ee5d7 (patch)
tree5f9028cc284d77a93805445eabda7e83ba77eac3
parenta065ab0ece642296fdf262f7d72122c2ba27bc7a (diff)
lernaeus: doesn't need sound and the graphics foo is updated following the new format
-rw-r--r--nix/hosts/lernaeus/configuration.nix14
1 files changed, 2 insertions, 12 deletions
diff --git a/nix/hosts/lernaeus/configuration.nix b/nix/hosts/lernaeus/configuration.nix
index 57cacb9..43297a2 100644
--- a/nix/hosts/lernaeus/configuration.nix
+++ b/nix/hosts/lernaeus/configuration.nix
@@ -20,13 +20,6 @@ in
     ./hardware-configuration.nix
   ];
 
-  ##################
-  # sound
-
-  sound.enable = true;
-
-  hardware.pulseaudio.enable = true;
-  hardware.pulseaudio.support32Bit = true;    ## If compatibility with 32-bit applications is desired.
 
   users.extraUsers.emile.extraGroups = [ "audio" ];
 
@@ -39,11 +32,8 @@ in
   };
 
   # Enable OpenGL
-  hardware.opengl = {
-    enable = true;
-    driSupport = true;
-    driSupport32Bit = true;
-  };
+  hardware.graphics.enable = true;
+  hardware.graphics.enable32Bit = true;
 
   # Load nvidia driver for Xorg and Wayland
   services.xserver.videoDrivers = [ "nvidia" ];