This commit is contained in:
parent
b95801a563
commit
608c9f4ba0
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user