forked from jan-leila/nix-config
		
	drafted out paperless config
This commit is contained in:
		
							parent
							
								
									1e5eed80c1
								
							
						
					
					
						commit
						3a875e0c1f
					
				
					 5 changed files with 103 additions and 2 deletions
				
			
		|  | @ -24,6 +24,7 @@ | |||
|     git = 2009; | ||||
|     immich = 2010; | ||||
|     qbittorrent = 2011; | ||||
|     paperless = 2012; | ||||
|   }; | ||||
| 
 | ||||
|   gids = { | ||||
|  | @ -40,6 +41,7 @@ | |||
|     git = 2009; | ||||
|     immich = 2010; | ||||
|     qbittorrent = 2011; | ||||
|     paperless = 2012; | ||||
|   }; | ||||
| 
 | ||||
|   users = config.users.users; | ||||
|  | @ -169,6 +171,12 @@ in { | |||
|             isNormalUser = true; | ||||
|             group = config.users.users.qbittorrent.name; | ||||
|           }; | ||||
| 
 | ||||
|           paperless = { | ||||
|             uid = lib.mkForce uids.paperless; | ||||
|             isSystemUser = true; | ||||
|             group = config.users.users.paperless.name; | ||||
|           }; | ||||
|         }; | ||||
| 
 | ||||
|         groups = { | ||||
|  | @ -273,6 +281,13 @@ in { | |||
|               leyla | ||||
|             ]; | ||||
|           }; | ||||
| 
 | ||||
|           paperless = { | ||||
|             gid = lib.mkForce gids.paperless; | ||||
|             members = [ | ||||
|               users.paperless.name | ||||
|             ]; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue