2025-07-11 15:31:30 +00:00
|
|
|
{
|
2025-07-11 21:22:21 +00:00
|
|
|
modulesPath,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
2025-07-11 15:31:30 +00:00
|
|
|
} @ args:
|
|
|
|
|
{
|
2025-07-11 21:22:21 +00:00
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
|
|
|
./disk-config.nix
|
2025-09-29 22:07:43 +00:00
|
|
|
./network.nix
|
2025-07-11 21:22:21 +00:00
|
|
|
];
|
|
|
|
|
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;
|
|
|
|
|
};
|
2025-08-15 18:57:06 +00:00
|
|
|
environment.systemPackages = map lib.lowPrio [
|
2025-09-08 19:44:59 +00:00
|
|
|
pkgs.curl
|
2025-08-15 18:57:06 +00:00
|
|
|
pkgs.dig
|
2025-09-08 19:44:59 +00:00
|
|
|
pkgs.gitMinimal
|
2025-08-15 18:57:06 +00:00
|
|
|
];
|
2025-09-08 19:44:59 +00:00
|
|
|
services.openssh.enable = true;
|
|
|
|
|
users.users.root.openssh.authorizedKeys.keys =
|
|
|
|
|
[
|
|
|
|
|
# change this to your ssh key
|
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos"
|
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHL1SpT3KR8XeXtH19muncYVrKxWzWdWtJYNTwoJGTm3 eliribble@Elis-Mac-mini.local"
|
|
|
|
|
] ++ (args.extraPublicKeys or []); # this is used for unit-testing this module and can be removed if not needed
|
2026-01-04 17:21:22 +00:00
|
|
|
system.stateVersion = "25.11";
|
2025-07-11 15:31:30 +00:00
|
|
|
}
|