This commit is contained in:
2024-06-11 17:11:49 +01:00
parent d7549af76f
commit 3b6a816df6
6 changed files with 90 additions and 39 deletions

View File

@@ -4,6 +4,7 @@
{
config,
pkgs,
lib,
...
}: {
imports = [
@@ -15,6 +16,8 @@
(import ../../modules).sidon
];
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_6_8;
services.xserver = {
dpi = 144;
videoDrivers = ["nvidia"];
@@ -33,6 +36,8 @@
efiSupport = true;
};
boot.kernelParams = ["initcall_blacklist=simpledrm_platform_driver_init"];
time.hardwareClockInLocalTime = true;
environment.sessionVariables.NIXOS_OZONE_WL = "1";
@@ -45,8 +50,12 @@
enable = true;
};
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
hardware.nvidia.modesetting.enable = true;
hardware.opengl.enable = true;
hardware.opengl.driSupport = true;
networking.hostName = "sidon"; # Define your hostname.
# This value determines the NixOS release from which the default