feat: ssh config reworked

fix: testienix
This commit is contained in:
Patrick Großmann 2023-10-11 21:48:28 +02:00
parent 3263277616
commit 288c6156ac
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 9 additions and 20 deletions

View file

@ -48,12 +48,18 @@
defaultZpoolOptions defaultZpoolOptions
// { // {
datasets = { datasets = {
"local" = unmountable;
"local/state" = filesystem "/panzer/state";
"safe" = unmountable; "safe" = unmountable;
"safe/data" = filesystem "/data"; "safe/persist" = filesystem "/panzer/persist";
}; };
}; };
}; };
}; };
fileSystems."/state".neededForBoot = true;
fileSystems."/panzer/state".neededForBoot = true;
boot.initrd.luks.devices.enc-rpool.allowDiscards = true; boot.initrd.luks.devices.enc-rpool.allowDiscards = true;
boot.initrd.luks.devices.enc-panzer-1.allowDiscards = true;
boot.initrd.luks.devices.enc-panzer-2.allowDiscards = true;
} }

View file

@ -16,56 +16,39 @@
"elisabeth" = { "elisabeth" = {
hostname = "lel.lol"; hostname = "lel.lol";
user = "root"; user = "root";
inherit identityFile;
}; };
"gojo" = { "gojo" = {
hostname = "10.181.97.217"; hostname = "10.181.97.217";
user = "root"; user = "root";
inherit identityFile;
}; };
"patricknix" = { "patricknix" = {
hostname = "patricknix.local"; hostname = "patricknix.local";
user = "root"; user = "root";
inherit identityFile;
}; };
"testienix" = { "testienix" = {
hostname = "testienix.local"; hostname = "testienix.local";
user = "root"; user = "root";
inherit identityFile;
}; };
"desktopnix" = { "desktopnix" = {
hostname = "desktopnix.local"; hostname = "desktopnix.local";
user = "root"; user = "root";
inherit identityFile;
}; };
"valhalla" = { "valhalla" = {
hostname = "valhalla.fs.tum.de"; hostname = "valhalla.fs.tum.de";
user = "grossmann"; user = "grossmann";
inherit identityFile;
}; };
"elisabethprivate" = { "elisabethprivate" = {
hostname = "lel.lol"; hostname = "lel.lol";
user = "patrick"; user = "patrick";
inherit identityFile;
};
"*.lel.lol" = {
inherit identityFile;
};
"localhost" = {
inherit identityFile;
};
"gitlab.lrz.de" = {
inherit identityFile;
};
"github.com" = {
inherit identityFile;
}; };
"*" = { "*" = {
identitiesOnly = true; identitiesOnly = true;
inherit identityFile;
}; };
}; };
}; };