forked from jan-leila/nix-config
		
	added syncthing
This commit is contained in:
		
							parent
							
								
									21eea779db
								
							
						
					
					
						commit
						905c4e73b2
					
				
					 5 changed files with 119 additions and 2 deletions
				
			
		|  | @ -22,6 +22,7 @@ | |||
|     hass = 2004; | ||||
|     headscale = 2005; | ||||
|     nextcloud = 2006; | ||||
|     syncthing = 2007; | ||||
|   }; | ||||
| 
 | ||||
|   gids = { | ||||
|  | @ -36,6 +37,7 @@ | |||
|     hass = 2004; | ||||
|     headscale = 2005; | ||||
|     nextcloud = 2006; | ||||
|     syncthing = 2007; | ||||
|   }; | ||||
| 
 | ||||
|   users = config.users.users; | ||||
|  | @ -160,6 +162,12 @@ in { | |||
|             isSystemUser = true; | ||||
|             group = config.users.users.nextcloud.name; | ||||
|           }; | ||||
| 
 | ||||
|           syncthing = { | ||||
|             uid = lib.mkForce uids.syncthing; | ||||
|             isSystemUser = true; | ||||
|             group = config.users.users.syncthing.name; | ||||
|           }; | ||||
|         }; | ||||
| 
 | ||||
|         groups = { | ||||
|  | @ -250,6 +258,16 @@ in { | |||
|               # leyla | ||||
|             ]; | ||||
|           }; | ||||
| 
 | ||||
|           syncthing = { | ||||
|             gid = lib.mkForce gids.syncthing; | ||||
|             members = [ | ||||
|               users.syncthing.name | ||||
|               leyla | ||||
|               ester | ||||
|               eve | ||||
|             ]; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue