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