mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
refactor: make nix code look pretty
This commit is contained in:
parent
e2fad495e5
commit
dc69dacd51
2 changed files with 17 additions and 11 deletions
|
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue