upd readme
This commit is contained in:
53
README.md
53
README.md
@@ -3,19 +3,44 @@
|
||||
## Usage
|
||||
|
||||
### Nix Flake
|
||||
* Inputs: steam-rom-manager.url = "github:mjallen18/nix-steam-rom-manager";
|
||||
* ```nixosConfigurations = {
|
||||
"<hostname>" = nixpkgs-unstable.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.users.<username> = { pkgs, ...}: {
|
||||
imports = [
|
||||
steam-rom-manager.homeManagerModules.default
|
||||
];
|
||||
};
|
||||
}
|
||||
Inputs: steam-rom-manager.url = "github:mjallen18/nix-steam-rom-manager";
|
||||
~~~
|
||||
nixosConfigurations = {
|
||||
"<hostname>" = nixpkgs-unstable.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.users.<username> = { pkgs, ...}: {
|
||||
imports = [
|
||||
steam-rom-manager.homeManagerModules.default
|
||||
];
|
||||
};
|
||||
};```
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
~~~
|
||||
|
||||
### Configuration
|
||||
~~~
|
||||
programs.steam-rom-manager = {
|
||||
enable = true;
|
||||
steamUsername = "<steam username>";
|
||||
|
||||
environmentVariables = {
|
||||
romsDirectory = "/path/to/your/roms";
|
||||
steamDirectory = "/home/<username>/.local/share/Steam";
|
||||
};
|
||||
|
||||
emulators = {
|
||||
ryujinx = {
|
||||
enable = true;
|
||||
};
|
||||
pcsx2 = {
|
||||
enable = true;
|
||||
};
|
||||
# Add other emulators as needed
|
||||
};
|
||||
};
|
||||
~~~
|
||||
Reference in New Issue
Block a user