Simon Bruder
cc4460f98b
This is needed for Intel Arc support (Mesa 22.3+). This also makes changes so the nixpkgs system evaluates without errors/warnings (caused by my configuration).
64 lines
2.6 KiB
Nix
64 lines
2.6 KiB
Nix
{ config, lib, ... }:
|
|
{
|
|
services.openssh = {
|
|
enable = true;
|
|
} // (if (lib.versionAtLeast (lib.substring 0 5 lib.version) "23.05") then {
|
|
# TODO: Remove with 23.05
|
|
settings = {
|
|
permitRootLogin = "yes";
|
|
passwordAuthentication = false;
|
|
};
|
|
} else {
|
|
permitRootLogin = "yes";
|
|
passwordAuthentication = false;
|
|
});
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = config.sbruder.pubkeys.trustedKeys;
|
|
|
|
programs.ssh.knownHosts = {
|
|
"[git.sbruder.de]:2022".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINV/2NbmkWuOs/RyULTex1MkLaKrrDJFj8piX2CR+ms/";
|
|
|
|
"[personal.storagebox.sbruder.de]:23" = {
|
|
hostNames = [ "[personal.storagebox.sbruder.de]:23" ] ++ map (id: "[u313368${lib.optionalString (id != 0) "-sub${toString id}"}.your-storagebox.de]:23") (lib.range 0 100);
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIICf9svRenC/PLKIL9nk6K/pxQgoiFC41wTNvoIncOxs";
|
|
};
|
|
|
|
hitagi = {
|
|
hostNames = [ "hitagi" "hitagi.home.sbruder.de" "hitagi.vpn.sbruder.de" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIg/622wS8SFlzS29TPW9li3pNdbdHNjlGb4XTyXR0QR";
|
|
};
|
|
vueko = {
|
|
hostNames = [ "vueko.sbruder.de" "vueko.vpn.sbruder.de" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJn2mxanLYNHWh1FSAL+GzB2S7u/nxDrkCBWSLdp92Vu";
|
|
};
|
|
vueko-initrd = {
|
|
hostNames = [ "[vueko.sbruder.de]:2222" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINjSqpT1/aMiKMOj38pY7gTOC+Cc0Ymi7UvMy0BssCzC";
|
|
};
|
|
fuuko = {
|
|
hostNames = [ "fuuko" "fuuko.home.sbruder.de" "fuuko.sbruder.de" "fuuko.vpn.sbruder.de" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMIrUqI2CZh2ipzDNVCTNdBen8IdhbddgwQzEMWoQzNB";
|
|
};
|
|
fuuko-initrd = {
|
|
hostNames = [ "[fuuko.home.sbruder.de]:2222" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJxqaJgDOZ8FdY68o/r1YNlGvNatFtP86QoqV147g3Lb";
|
|
};
|
|
mayushii = {
|
|
hostNames = [ "mayushii" "mayushii.home.sbruder.de" "maushii.vpn.sbruder.de" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKa53rGEQtBYyjGspeS8x2OZFPjLpFgm2C7+lttEKm60";
|
|
};
|
|
renge = {
|
|
hostNames = [ "renge" "renge.sbruder.de" "renge.vpn.sbruder.de" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIObwSrDWwZOkHBzxn9+ftigWN0uUnWrtVaQpPUsYdIB9";
|
|
};
|
|
renge-initrd = {
|
|
hostNames = [ "[renge.sbruder.de]:2222" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE5HmxGDJO1jkVoUdiKEC3yXrkJ1ZWn4FurGyt2UgzYu";
|
|
};
|
|
nunotaba = {
|
|
hostNames = [ "nunotaba" "nunotaba.home.sbruder.de" "nunotaba.vpn.sbruder.de" ];
|
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHUEVBJcEibRdQzp0bDXpPqLGQ8vtQTKTcpGZU07W4eo";
|
|
};
|
|
};
|
|
}
|