This commit is contained in:
		| @@ -20,12 +20,16 @@ in | ||||
|     enable = true; | ||||
|     controlMaster = "auto"; | ||||
|  | ||||
|     matchBlocks = lib.mkIf (osConfig.system.name == "magicman") { | ||||
|       "bmo.uio.no-on-eduroam" = lib.hm.dag.entryBefore [ "bmo.uio.no" ] { | ||||
|         match = "host bmo.uio.no exec \"nmcli -g GENERAL.STATE c s eduroam|grep -q -E '\\bactiv'\""; | ||||
|         hostname = "bmo.uio.no"; | ||||
|         forwardAgent = false; | ||||
|       }; | ||||
|     matchBlocks = { | ||||
|       "bmo.uio.no-on-eduroam" = ( | ||||
|         lib.mkIf (osConfig.system.name == "magicman") ( | ||||
|           lib.hm.dag.entryBefore [ "bmo.uio.no" ] { | ||||
|             match = "host bmo.uio.no exec \"nmcli -g GENERAL.STATE c s eduroam|grep -q -E '\\bactiv'\""; | ||||
|             hostname = "bmo.uio.no"; | ||||
|             forwardAgent = false; | ||||
|           } | ||||
|         ) | ||||
|       ); | ||||
|  | ||||
|       "bmo.uio.no" = { | ||||
|         setEnv = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user