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, ... }:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.configurationLimit = 10;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot = {
kernelPackages = pkgs.linuxPackages_latest;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot.configurationLimit = 10;
};
};
}

View file

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