forked from jan-leila/nix-config
		
	feat: created crab-hole service
This commit is contained in:
		
							parent
							
								
									290db94f42
								
							
						
					
					
						commit
						46890110f8
					
				
					 7 changed files with 210 additions and 2 deletions
				
			
		|  | @ -30,6 +30,7 @@ | |||
|     sonarr = 2015; | ||||
|     bazarr = 2016; | ||||
|     lidarr = 2017; | ||||
|     crab-hole = 2018; | ||||
|   }; | ||||
| 
 | ||||
|   gids = { | ||||
|  | @ -52,6 +53,7 @@ | |||
|     sonarr = 2015; | ||||
|     bazarr = 2016; | ||||
|     lidarr = 2017; | ||||
|     crab-hole = 2018; | ||||
|   }; | ||||
| 
 | ||||
|   users = config.users.users; | ||||
|  | @ -229,6 +231,12 @@ in { | |||
|             isSystemUser = true; | ||||
|             group = config.users.users.lidarr.name; | ||||
|           }; | ||||
| 
 | ||||
|           crab-hole = { | ||||
|             uid = lib.mkForce uids.crab-hole; | ||||
|             isSystemUser = true; | ||||
|             group = config.users.users.crab-hole.name; | ||||
|           }; | ||||
|         }; | ||||
| 
 | ||||
|         groups = { | ||||
|  | @ -381,6 +389,13 @@ in { | |||
|               users.lidarr.name | ||||
|             ]; | ||||
|           }; | ||||
| 
 | ||||
|           crab-hole = { | ||||
|             gid = lib.mkForce gids.crab-hole; | ||||
|             members = [ | ||||
|               users.crab-hole.name | ||||
|             ]; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue