puter/hosts/abacus/default.nix

44 lines
901 B
Nix
Raw Normal View History

2024-02-04 20:51:11 +00:00
{modulesPath, ...}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
2024-02-14 22:06:49 +00:00
./conduit.nix
./forgejo.nix
2024-02-04 20:51:11 +00:00
./mailserver.nix
2024-02-14 22:06:49 +00:00
./navidrome.nix
2024-02-04 20:51:11 +00:00
./nextcloud.nix
./nginx.nix
./vaultwarden.nix
];
nixpkgs.hostPlatform = "aarch64-linux";
boot.initrd.availableKernelModules = ["xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" "sr_mod"];
system.stateVersion = "24.05";
powerManagement.cpuFreqGovernor = "performance";
networking = let
interface = "enp1s0";
in {
domain = "wrz.one";
interfaces.${interface}.ipv6.addresses = [
{
address = "2a01:4f9:c012:92b5::2";
prefixLength = 64;
}
];
defaultGateway6 = {
address = "fe80::1";
inherit interface;
};
firewall.allowedTCPPorts = [80 443];
};
security.acme = {
defaults.email = "lukasatwrzdotone@gmail.com";
acceptTerms = true;
};
}