Update README.md
Signed-off-by: XenGi <cccb-git@xengi.de>
This commit is contained in:
		
							parent
							
								
									26e14afe33
								
							
						
					
					
						commit
						53a61181b3
					
				
					 1 changed files with 47 additions and 7 deletions
				
			
		
							
								
								
									
										54
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										54
									
								
								README.md
									
										
									
									
									
								
							|  | @ -18,17 +18,57 @@ chaos music control inspired by [relaxx player][relaxx] | |||
| 
 | ||||
| ### NixOS (flakes) | ||||
| 
 | ||||
| _tba_ | ||||
| Example flake setup (untested): | ||||
| 
 | ||||
| ### Arch Linux | ||||
| ```nix | ||||
| { | ||||
|   description = "my host"; | ||||
|   inputs ={ | ||||
|     nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-23.11"; | ||||
|     sanic.url = "git.berlin.ccc.de:cccb/sanic/latest"; | ||||
|   }; | ||||
|   outputs = { self, nixpkgs, sanic }: | ||||
|   let | ||||
|     system = "x86_64-linux"; | ||||
|     pkgs = import nixpkgs { inherit system; }; | ||||
|   in | ||||
|   { | ||||
|     nixosConfigurations."myhostname".nixpkgs.lib.nixosSystem { | ||||
|       inherit system; | ||||
|       modules = [ | ||||
|         sanic.nixosModules.sanic | ||||
|         { | ||||
|           sanic = { | ||||
|             mpd = { | ||||
|               host = "localhost"; | ||||
|               port = 6600; | ||||
|             }; | ||||
|             ui = { | ||||
|               hostname = "[::]"; | ||||
|               port = "443"; | ||||
|               tls = true; | ||||
|             }; | ||||
|           }; | ||||
|         } | ||||
|       ]; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
| ``` | ||||
| 
 | ||||
| ### Arch Linux (Manjaro, etc) | ||||
| 
 | ||||
| Install from the AUR: | ||||
| 
 | ||||
| ``` | ||||
| yay -S sanic | ||||
| ``` | ||||
| 
 | ||||
| ### Debian (Ubuntu, Mint, etc) | ||||
| 
 | ||||
| _tba_ | ||||
| 
 | ||||
| ### Debian | ||||
| 
 | ||||
| _tba_ | ||||
| 
 | ||||
| ### Red Hat | ||||
| ### Red Hat (Fedora, Rocky Linux, etc) | ||||
| 
 | ||||
| _tba_ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue