inherit hell yeah
This commit is contained in:
parent
9531572ca6
commit
505f960a53
2 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
let
|
||||
# define a block that just takes a hostname and returns attrset to not repeat the same fields
|
||||
sshBlock = hostname: {
|
||||
hostname = hostname;
|
||||
inherit hostname;
|
||||
user = "osbm";
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
extraOptions = {
|
||||
|
|
@ -14,7 +14,7 @@ let
|
|||
};
|
||||
# sshBlockAtreus is the same as sshBlock but with 8090 as the port
|
||||
sshBlockAtreus = hostname: {
|
||||
hostname = hostname;
|
||||
inherit hostname;
|
||||
user = "osbm";
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
port = 8022;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue