refactor: make nix code look pretty

This commit is contained in:
Ahwx 2024-06-21 09:35:48 +02:00
parent e2fad495e5
commit dc69dacd51
2 changed files with 17 additions and 11 deletions

View file

@ -1,7 +1,11 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
boot.loader.systemd-boot.enable = true; boot = {
boot.loader.efi.canTouchEfiVariables = true; kernelPackages = pkgs.linuxPackages_latest;
boot.loader.systemd-boot.configurationLimit = 10; loader = {
boot.kernelPackages = pkgs.linuxPackages_latest; systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10;
};
};
} }

View file

@ -1,10 +1,12 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
hardware.opengl.enable = true; hardware = {
hardware.opengl.driSupport = true; opengl = {
hardware.opengl.driSupport32Bit = true; enable = true;
hardware.enableRedistributableFirmware = true; driSupport = true;
hardware.opengl.extraPackages = with pkgs; [ driSupport32Bit = true;
extraPackages = with pkgs; [];
]; };
enableRedistributableFirmware = true;
};
} }