Add two new servers
This commit is contained in:
parent
26fd8569fe
commit
51044e15eb
25 changed files with 208 additions and 78 deletions
|
@ -5,12 +5,16 @@
|
|||
addKeysToAgent = "yes";
|
||||
compression = true;
|
||||
matchBlocks = {
|
||||
# Personal servers
|
||||
# Personal devices
|
||||
tower.hostname = "4e4:535:9d47:f367:becd:6557:458d:5b1b";
|
||||
intuos.hostname = "40e:404:a427:da33:163e:97b3:a2a3:9ed4";
|
||||
jupiter.hostname = "5ce:969c:40d1:9575:f5e:591d:c377:a20b";
|
||||
|
||||
# Personal servers
|
||||
midas.hostname = "538:e163:87ba:f847:3646:18b6:6b01:d8f8";
|
||||
kitty.hostname = "53f:dc2d:80c9:3ca2:4b15:ef4d:38a0:c868";
|
||||
detritus.hostname = "5dd:9cd7:f286:e2c7:4c3b:c2e1:7832:97a3";
|
||||
elder.hostname = "570:3651:7f2:c26b:bccd:725b:be00:8a18";
|
||||
prophet.hostname = "42f:2737:2aed:4dee:cbe4:3c73:1918:ad9b";
|
||||
|
||||
# Other servers
|
||||
|
|
|
@ -8,21 +8,30 @@
|
|||
];
|
||||
in with nodes; {
|
||||
"midas" = {
|
||||
enable = lib.mkDefault false;
|
||||
device = "[${midas.config.deployment.targetHost}]:/storage";
|
||||
mountPoint = "/network/Midas";
|
||||
fsType = "nfs4";
|
||||
options = netOpts;
|
||||
};
|
||||
"kitty" = {
|
||||
enable = lib.mkDefault false;
|
||||
device = "[${kitty.config.deployment.targetHost}]:/storage";
|
||||
mountPoint = "/network/Kitty";
|
||||
fsType = "nfs4";
|
||||
options = netOpts;
|
||||
};
|
||||
"detritus" = {
|
||||
device = "[${detritus.config.deployment.targetHost}]:/storage";
|
||||
mountPoint = "/network/Detritus";
|
||||
fsType = "nfs4";
|
||||
options = netOpts;
|
||||
};
|
||||
"elder" = {
|
||||
device = "[${elder.config.deployment.targetHost}]:/storage";
|
||||
mountPoint = "/network/Elder";
|
||||
fsType = "nfs4";
|
||||
options = netOpts;
|
||||
};
|
||||
"prophet" = {
|
||||
enable = lib.mkDefault false;
|
||||
device = "[${prophet.config.deployment.targetHost}]:/storage";
|
||||
mountPoint = "/network/Prophet";
|
||||
fsType = "nfs4";
|
||||
|
|
|
@ -7,14 +7,8 @@
|
|||
hashedPassword = config.secrets.accPass.main;
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../../../hosts/tower/id_ed25519.pub
|
||||
../../../../hosts/detritus/id_ed25519.pub
|
||||
|
||||
../../../../hosts/intuos/id_ed25519.pub
|
||||
../../../../hosts/jupiter/id_ed25519.pub
|
||||
|
||||
../../../../hosts/midas/id_ed25519.pub
|
||||
../../../../hosts/kitty/id_ed25519.pub
|
||||
../../../../hosts/prophet/id_ed25519.pub
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN3B9Uf3h5JiD2HjF/vQ5Zx9pibMgRrlf7ZoBktev9eB Warden"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue