Update readme
This commit is contained in:
		
							parent
							
								
									8a9f04dadc
								
							
						
					
					
						commit
						97b0020a28
					
				
					 1 changed files with 22 additions and 0 deletions
				
			
		
							
								
								
									
										22
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										22
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
					@ -14,3 +14,25 @@ nix run
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
nix run git+https://git.zhitno.st/Klink/sneedstr
 | 
					nix run git+https://git.zhitno.st/Klink/sneedstr
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					## Or use it as a nixos-container in your flake
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					# flake.nix
 | 
				
			||||||
 | 
					inputs = {
 | 
				
			||||||
 | 
						# Sneedstr
 | 
				
			||||||
 | 
					    sneedstr.url = "git+https://git.zhitno.st/Klink/sneedstr";
 | 
				
			||||||
 | 
					    sneedstr.inputs.nixpkgs.follows = "nixpkgs";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# nixosConfiguration
 | 
				
			||||||
 | 
					imports = [
 | 
				
			||||||
 | 
						inputs.sneedstr.nixosModules.x86_64-linux.default
 | 
				
			||||||
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					services.sneedstr = {
 | 
				
			||||||
 | 
					    enable = true;
 | 
				
			||||||
 | 
					    host = "testvm.vm";
 | 
				
			||||||
 | 
					    sslEnable = false;
 | 
				
			||||||
 | 
					    hostAddress = "192.168.100.12";
 | 
				
			||||||
 | 
					    localAddress = "192.168.100.13";
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue