diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/sils/ssh/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/users/sils/ssh/default.nix b/users/sils/ssh/default.nix index 3e255b7..c7b8e20 100644 --- a/users/sils/ssh/default.nix +++ b/users/sils/ssh/default.nix @@ -1,3 +1,17 @@ {...}: { services.ssh-agent.enable = false; + + programs.ssh = { + enable = true; + matchBlocks = let + genBox = user: { + inherit user; + hostname = "${user}.your-storagebox.de"; + }; + username = "u384702"; + in { + "storagebox" = genBox username; + "storagebox-1" = genBox "${username}-sub1"; + }; + }; } |