2025-05-13 11:09:08 +00:00
|
|
|
{
|
|
|
|
modulesPath,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
./disk-config.nix
|
|
|
|
];
|
|
|
|
boot.loader.grub = {
|
|
|
|
# no need to set devices, disko will add all devices that have a EF02 partition to the list already
|
|
|
|
# devices = [ ];
|
|
|
|
efiSupport = true;
|
|
|
|
efiInstallAsRemovable = true;
|
|
|
|
};
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
environment.systemPackages = map lib.lowPrio [
|
|
|
|
pkgs.curl
|
|
|
|
pkgs.gitMinimal
|
|
|
|
];
|
|
|
|
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
2025-05-14 15:22:36 +00:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHDuOIycRP7Ney136ro/doWj1kttJUqmbGz6OC2nia09 michael.huebner@ptspaper.de"
|
2025-05-13 11:09:08 +00:00
|
|
|
];
|
|
|
|
|
2025-05-14 15:22:36 +00:00
|
|
|
# # even though we have raid 1, we only boot from the first disk with the zfs setup
|
2025-05-14 15:45:14 +00:00
|
|
|
boot.loader.grub.devices = [ "/dev/nvme0n1" ];
|
2025-05-14 15:22:36 +00:00
|
|
|
# # this was generated with `head -c4 /dev/urandom | od -A none -t x4`
|
|
|
|
# networking.hostId = "32fd1c31";
|
|
|
|
|
|
|
|
|
2025-05-13 11:09:08 +00:00
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|