diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix index eb0458d..e69ec2c 100644 --- a/hosts/workstation/default.nix +++ b/hosts/workstation/default.nix @@ -112,6 +112,7 @@ in { source = pkgs.writeText "00work" '' #!/run/current-system/sw/bin/bash id=JPMCVisitor + /run/wrappers/bin/doas -u don /home/don/bin/check-nic if [ "$CONNECTION_ID" == "$id" ] && [ "x$DHCP4_IP_ADDRESS" != "x" ] then /run/wrappers/bin/doas -u don /etc/profiles/per-user/don/bin/timew start work