box: get gonic working again (needed headphones user)
This commit is contained in:
		
							parent
							
								
									c0ff69d9f8
								
							
						
					
					
						commit
						a37a72e81f
					
				|  | @ -10,9 +10,9 @@ | |||
|     # ../profiles/monitoring | ||||
|     ../profiles/nfs | ||||
|     ../profiles/gonic | ||||
|     ../profiles/headphones  | ||||
|     # ../profiles/headphones # TODO broken on 23.11, see: https://github.com/rembo10/headphones/issues/3320 | ||||
|     ../profiles/radicale | ||||
|     ../profiles/seafile  | ||||
|     # ../profiles/seafile # waiting for https://github.com/NixOS/nixpkgs/pull/249523 to be merged | ||||
|     ../profiles/syncthing | ||||
|     ../profiles/dhyan | ||||
|     ../profiles/calibre | ||||
|  |  | |||
|  | @ -9,4 +9,12 @@ | |||
|   mossnet.gonic.user = "headphones"; | ||||
|   mossnet.gonic.group = "audio"; | ||||
|   networking.firewall.allowedTCPPorts = [ 4747 ]; | ||||
| 
 | ||||
|   users.users.gonic = { | ||||
|     uid = config.ids.uids.headphones; | ||||
|     # isSystemUser = true; | ||||
|     group = "audio"; | ||||
|     home = "/var/lib/headphones"; | ||||
|     createHome = true; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
|  | @ -4,6 +4,7 @@ | |||
|     enable = true; | ||||
|     host = "0.0.0.0"; | ||||
|     port = 8181; | ||||
|     package = "${pkgs.unstable.headphones}"; | ||||
|     user = "headphones"; | ||||
|     group = "audio"; | ||||
|     dataDir = "/data/music"; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue