about summary refs log tree commit diff
path: root/ops/nixos/frog
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/frog')
-rw-r--r--ops/nixos/frog/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/ops/nixos/frog/default.nix b/ops/nixos/frog/default.nix
index cd2e1d6d1786..648e3549b610 100644
--- a/ops/nixos/frog/default.nix
+++ b/ops/nixos/frog/default.nix
@@ -31,14 +31,21 @@ in depot.lib.fix(self: {
       kernelModules = [ "dm-snapshot" ];
     };
 
+    kernelPackages = nixpkgs.linuxPackages_latest;
     kernel.sysctl = {
       "kernel.perf_event_paranoid" = 1;
     };
   };
 
   hardware = {
+    cpu.amd.updateMicrocode = true;
+    enableRedistributableFirmware = true;
     pulseaudio.enable = true;
     u2f.enable = true;
+    opengl = {
+      enable = true;
+      driSupport = true;
+    };
   };
 
   nix = {
@@ -138,8 +145,6 @@ in depot.lib.fix(self: {
     layout = "us";
     xkbOptions = "caps:super";
     exportConfiguration = true;
-    videoDrivers = [ "amdgpu" "amdgpu-pro" ];
-
     displayManager = {
       # Give EXWM permission to control the session.
       sessionCommands = "${nixpkgs.xorg.xhost}/bin/xhost +SI:localuser:$USER";