From 7330621bfe65aea5bf9e4b0e5b6da9a7220391a6 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sat, 26 Jul 2025 17:03:30 +0100 Subject: [PATCH] hosts/artemis: add ntsync driver --- hosts/artemis/hardware-configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/artemis/hardware-configuration.nix b/hosts/artemis/hardware-configuration.nix index 174a697..fab06b8 100644 --- a/hosts/artemis/hardware-configuration.nix +++ b/hosts/artemis/hardware-configuration.nix @@ -59,6 +59,7 @@ in "hid_nintendo" "hid_playstation" "kvm-amd" + "ntsync" ]; kernelParams = [ "log_buf_len=4M" @@ -99,6 +100,14 @@ in powerManagement.cpuFreqGovernor = "schedutil"; + services.udev.packages = [ + (pkgs.writeTextFile { + name = "ntsync-udev-rules"; + text = ''KERNEL=="ntsync", MODE="0660", TAG+="uaccess"''; + destination = "/etc/udev/rules.d/70-ntsync.rules"; + }) + ]; + services.pulseaudio.enable = false; services.xserver.videoDrivers = [ "amdgpu" ];