puter/hosts/abacus/default.nix

43 lines
864 B
Nix
Raw Normal View History

2024-02-04 20:51:11 +00:00
{modulesPath, ...}: {
imports = [
2024-04-13 18:41:18 +00:00
"${modulesPath}/profiles/qemu-guest.nix"
2024-02-04 20:51:11 +00:00
2024-08-20 20:19:20 +00:00
./backup.nix
2024-08-18 00:55:37 +00:00
./microbin.nix
./miniflux.nix
2024-02-04 20:51:11 +00:00
./nginx.nix
2024-08-20 19:46:47 +00:00
./syncthing.nix
2024-02-04 20:51:11 +00:00
./vaultwarden.nix
];
nixpkgs.hostPlatform = "aarch64-linux";
boot.initrd.availableKernelModules = ["xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" "sr_mod"];
2024-08-18 12:54:44 +00:00
system.stateVersion = "24.11";
2024-02-04 20:51:11 +00:00
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 = {
2024-04-20 19:49:50 +00:00
defaults.email = "lukas@wrz.one";
2024-02-04 20:51:11 +00:00
acceptTerms = true;
};
}