diff --git a/etcnixos/system-yarn.nix b/etcnixos/system-yarn.nix index bd0426f..fe3bfff 100644 --- a/etcnixos/system-yarn.nix +++ b/etcnixos/system-yarn.nix @@ -16,9 +16,13 @@ inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate inputs.nixos-hardware.nixosModules.common-cpu-amd-zenpower ]; + nixpkgs.config.allowUnfree = true; networking.hostId = "abf570f9"; boot = { + # fixes zenpower driver issue + kernelPackages = lib.mkForce pkgs.linuxPackages_latest; + kernelParams = [ # allow overclocking (I actually underclock but lol) "amdgpu.ppfeaturemask=0xFFF7FFFF" @@ -74,7 +78,7 @@ config = let select_hwmon = "hwmon/hwmon[[:print:]]*"; - gpu_path = "/sys/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/${select_hwmon}"; + gpu_path = "/sys/bus/pci/drivers/amdgpu/0000:0c:00.0/${select_hwmon}"; mobo_path = "/sys/devices/platform/nct6775.656/${select_hwmon}"; fan_speed = "${mobo_path}/pwm4"; in diff --git a/home-manager/flake.lock b/home-manager/flake.lock index 4d10a01..f1aa960 100644 --- a/home-manager/flake.lock +++ b/home-manager/flake.lock @@ -79,11 +79,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1738756893, - "narHash": "sha256-8i0bwUAomkug0nTNkyzpVctC78FYCUWUg3kOtXVeR/c=", + "lastModified": 1738770770, + "narHash": "sha256-nfapp7C4BbdvHTRA1HSRVYjD5Fk2FCKoyxQLzcL5X50=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "1b2c644b287066aa161734a727f3f6f5da9b4d5c", + "rev": "83abbde7c8164ee4b42a8647e4e61015c3f45816", "type": "github" }, "original": { @@ -112,11 +112,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1738751713, - "narHash": "sha256-DxucZaCzH72v4SSUC6eK1TNLQVxBwXr1nYMsABoJ6ls=", + "lastModified": 1738768006, + "narHash": "sha256-56jDYr/vqX4fobMJO2nWLjih03i6UV5bKtxI0nR4ZZA=", "owner": "YaLTeR", "repo": "niri", - "rev": "900da597e4d3d09ad4c4ddc3ba2abf58c4886ec9", + "rev": "690d6355057ebeba03cbd8ce4905145b834c72f8", "type": "github" }, "original": { @@ -242,11 +242,11 @@ ] }, "locked": { - "lastModified": 1738754044, - "narHash": "sha256-ptZWtXstcE1a3My6N0OrKTA0wQePsYqqKnGpSZZy/bY=", + "lastModified": 1738782903, + "narHash": "sha256-xxclr3MHrE8hjQbHBlwONgCkYY8UHhjoA1jjB6pLvC0=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "e4cef7c609c948a1ebc7f29602554d29fbad500d", + "rev": "876ab3f1dc42bb52c250453d73130a6d07322b51", "type": "github" }, "original": {