refactor in synaptic style

This commit is contained in:
atagen 2025-07-20 23:35:43 +10:00
parent ce295da1c1
commit a3a33e7ec1
119 changed files with 1093 additions and 3109 deletions

37
hosts/quiver/hw.nix Normal file
View file

@ -0,0 +1,37 @@
{ config, ... }:
{
security.tpm2.enable = true;
hardware.cpu.amd.updateMicrocode = true;
services.xserver.videoDrivers = [ "nvidia" ];
nixpkgs.config.cudaSupport = true;
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.latest;
modesetting.enable = true;
powerManagement.enable = true;
nvidiaPersistenced = true;
open = false;
};
hardware.graphics.enable = true;
hardware.graphics.enable32Bit = true;
# openrgb no longer recognises the device?
# systemd.services.no-rgb = {
# wantedBy = ["multi-user.target"];
# description = "rgb led turn-off-er";
# serviceConfig = {
# Type = "oneshot";
# ExecStart = ''${pkgs.openrgb}/bin/openrgb -d "HyperX DRAM" -m static -c 000000'';
# After = ["openrgb"];
# };
# };
# services.hardware.openrgb = {
# enable = true;
# motherboard = "amd";
# };
}