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
// {
datasets = {
"local" = unmountable;
"local/state" = filesystem "/panzer/state";
"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-panzer-1.allowDiscards = true;
boot.initrd.luks.devices.enc-panzer-2.allowDiscards = true;
}

View file

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