Simplify the setup of Rocksmith 2014 on NixOS!
In order to use this, you need to include it in your flake's inputs like this:
# flake.nix
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-rocksmith = {
url = "github:re1n0/nixos-rocksmith";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {self, nixpkgs, ...}@inputs: {
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
inputs.nixos-rocksmith.nixosModules.default
./configuration.nix
];
};
};
}# configuration.nix
{
# ...
# Add user to `audio` and `rtkit` groups.
users.users.<username>.extraGroups = [ "audio" "rtkit" ];
programs.steam = {
enable = true;
rocksmithPatch.enable = true;
};
# ...
}Tips for running Rocksmith 2014 on Linux are available in linux-rocksmith repo. Go check them out for potential troubleshooting or setting Launch Options on Steam.