diff options
author | sils <sils@sils.li> | 2024-01-06 14:37:30 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2024-01-06 14:37:30 +0100 |
commit | 82d56816aeda0cf4e7241773b52f41bb6a111487 (patch) | |
tree | b4c5a7bedf5b64da644164bb2708dcf1a185b5e0 | |
parent | fix(sys/services/greetd): restart greetd on failure (diff) | |
download | nix-config-82d56816aeda0cf4e7241773b52f41bb6a111487.tar.gz nix-config-82d56816aeda0cf4e7241773b52f41bb6a111487.zip |
feat(u/sils/ssh): define ssh-config
Diffstat (limited to '')
-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"; + }; + }; } |