From 73b08cbd76d4471c9a6fddd05265d7d7fc4c45ff Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 7 Aug 2024 09:31:01 +0200 Subject: ... --- hosts/sif/default.nix | 6 +++--- hosts/sif/hw.nix | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'hosts/sif') diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 610d990d..3525015d 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix @@ -1,4 +1,4 @@ -{ flake, pkgs, customUtils, lib, config, path, ... }: +{ flake, flakeInputs, pkgs, customUtils, lib, config, path, ... }: let mwnSubnetsPublic = [ "129.187.0.0/16" "141.40.0.0/16" "141.84.0.0/16" @@ -15,6 +15,7 @@ in { ./mail tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines networkmanager + flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1 ]; config = { @@ -59,7 +60,6 @@ in { plymouth.enable = true; kernelPackages = pkgs.linuxPackages_latest; - kernelParams = [ "i915.fastboot=1" "intel_pstate=no_hwp" "acpi_backlight=vendor" "thinkpad-acpi.brightness_enable=1" "quiet" ]; extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; kernelModules = ["v4l2loopback"]; kernelPatches = [ @@ -536,7 +536,7 @@ in { prime = { nvidiaBusId = "PCI:1:0:0"; intelBusId = "PCI:0:2:0"; - sync.enable = true; + reverseSync.enable = true; }; }; diff --git a/hosts/sif/hw.nix b/hosts/sif/hw.nix index d01582e0..077d25a6 100644 --- a/hosts/sif/hw.nix +++ b/hosts/sif/hw.nix @@ -95,7 +95,5 @@ # High-DPI console console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz"; - hardware.cpu.intel.updateMicrocode = true; - hardware.enableRedistributableFirmware = true; } -- cgit v1.2.3