Super Smash Bros. Melee: Difference between revisions
→Slippi: Provide example of full configuration for Appimage |
→Slippi: Add example of enabling slippi-nix default nixosModule |
||
| Line 29: | Line 29: | ||
Which is just the snippet from [[Appimage#Configuration]] with the needed library added to the <code>appimage-run</code> package. | Which is just the snippet from [[Appimage#Configuration]] with the needed library added to the <code>appimage-run</code> package. | ||
Even when using the Appimage, you can still use [https://github.com/lytedev/slippi-nix slippi-nix]'s optional <code>default</code> nixosModule to automatically setup the udev rules needed to optimize GameCube adapters, assuming you have a [[NixOS_system_configuration#Defining_NixOS_as_a_flake|flake-based configuration]]. | |||
<syntaxhighlight lang="nix"> | |||
{ | |||
inputs.slippi= { | |||
url = "github:lytedev/slippi-nix"; | |||
inputs.nixpkgs.follows = "nixpkgs"; | |||
}; | |||
outputs = {slippi, nixpkgs, ...}: { | |||
nixosConfigurations.alice = nixpkgs.lib.nixosSystem { | |||
modules = [ | |||
slippi.nixosModules.default | |||
]; | |||
}; | |||
}; | |||
} | |||
</syntaxhighlight> | |||
== B0XX Emulation == | == B0XX Emulation == | ||