fork/home-manager
git clone https://git.julia.blue/fork/home-manager
2d963854
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs . ssh = { 8enable = true ; 9matchBlocks = { 10localBindPathWithPort = { 11localForwards = [{ 12# OK: 13host . address = "127.0.0.1" ; 14host . port = 3000 ; 15 16# Error: 17bind . address = "/run/user/1000/gnupg/S.gpg-agent.extra" ; 18bind . port = 3000 ; 19}]; 20}; 21}; 22}; 23 24test . asserts . assertions . expected = [ "Forwarded paths cannot have ports." ]; 25}; 26}