nintendo switch game backup udev rules
This commit is contained in:
+13
-10
@@ -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;
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Nintendo SDK debugger, which nxdumptool presents itself as
|
||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", TAG+="uaccess"
|
||||
Reference in New Issue
Block a user