diff --git a/configuration.nix b/configuration.nix index 004989a..4c4774a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,7 +15,7 @@ boot.loader.efi.canTouchEfiVariables = true; # Use latest kernel. - boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.linuxPackages_zen; networking.hostName = "artemis"; # Define your hostname. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -82,14 +82,7 @@ #media-session.enable = true; }; - services.pipewire.extraConfig.pipewire."10-low-latency" = { - "context.properties" = { - "default.clock.rate" = 48000; - "default.clock.quantum" = 128; - "default.clock.min-quantum" = 32; - "default.clock.max-quantum" = 2048; - }; - }; + musnix.enable = true; # realtime audio shenanigans security.pam.loginLimits = [ @@ -139,7 +132,6 @@ hydrapaper nextcloud-client fastfetch - mutter ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; @@ -155,6 +147,17 @@ # List services that you want to enable: services.flatpak.enable = true; + + # Enable Nintendo Switch Cartridge dumping + + services.udev.extraRules = [ + (pkgs.writeTextFile{ + name = "nxdumptool-udev"; + destination = "/etc/udev/rules.d/71-nxdumptool.rules"; + text = builtins.readFile ./udev/71-nxdumptool.rules; + }) + ]; + # Enable the OpenSSH daemon. # services.openssh.enable = true; diff --git a/udev/71-nxdumptool.rules b/udev/71-nxdumptool.rules new file mode 100644 index 0000000..e50c5df --- /dev/null +++ b/udev/71-nxdumptool.rules @@ -0,0 +1,2 @@ +# Nintendo SDK debugger, which nxdumptool presents itself as +SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", TAG+="uaccess"