nixos-systems/host/nocix/amd-legacy-quadcore/configuration.nix

47 lines
1.2 KiB
Nix
Raw Normal View History

2026-02-17 15:11:46 +00:00
{
lib,
modulesPath,
pkgs,
...
} @ args:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
./disk-config.nix
./network.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;
};
environment.systemPackages = map lib.lowPrio [
pkgs.curl
pkgs.dig
pkgs.gitMinimal
];
myModules = {
nidus-sync = {
2026-02-18 05:07:22 +00:00
domainNameReport = "staging-report.mosquitoes.online";
domainNameSync = "staging-sync.nidus.cloud";
environment = "staging";
};
pgadmin = {
domainName = "staging-pgadmin.nidus.cloud";
};
tegola = {
domainName = "staging-tegola.nidus.cloud";
};
};
2026-02-17 15:11:46 +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
system.stateVersion = "25.11";
}