everywhere-config/configuration.nix

36 lines
791 B
Nix
Raw Normal View History

2025-05-13 11:09:08 +00:00
{
modulesPath,
lib,
pkgs,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
./disk-config.nix
];
2025-05-15 08:15:06 +00:00
boot.loader.systemd-boot.enable = false;
2025-05-13 11:09:08 +00:00
boot.loader.grub = {
2025-05-15 08:15:06 +00:00
enable = true;
2025-05-13 11:09:08 +00:00
# no need to set devices, disko will add all devices that have a EF02 partition to the list already
2025-05-15 08:15:06 +00:00
devices = [ "/dev/nvme0n1" ];
# device = "/dev/nvme0n1";
efiSupport = false;
# efiInstallAsRemovable = true;
2025-05-13 11:09:08 +00:00
};
services.openssh.enable = true;
environment.systemPackages = map lib.lowPrio [
pkgs.curl
pkgs.gitMinimal
];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHDuOIycRP7Ney136ro/doWj1kttJUqmbGz6OC2nia09 michael.huebner@ptspaper.de"
2025-05-13 11:09:08 +00:00
];
system.stateVersion = "24.05";
}