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" ];