{ config, lib, pkgs, inputs, ... }: let inherit (lib) mkForce; in { imports = [ ./filesystems.nix ./hardware.nix ./networking.nix ]; nixpkgs.hostPlatform = "x86_64-linux"; networking.hostName = "elucredassa"; networking.hostId = "a8ec6755"; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ]; boot.kernelModules = [ "kvm-intel" ]; qenya.base-server.enable = true; i18n.defaultLocale = "en_GB.UTF-8"; console.keyMap = "uk"; services.xserver.xkb.layout = "gb"; # TODO: modularise this randomcat.services.zfs.datasets = { "rpool_elucredassa/backups" = { mountpoint = "none"; zfsPermissions.users.syncoid = [ "mount" "create" "receive" "recordsize" ]; }; "rpool_elucredassa/backups/rpool_orm" = { mountpoint = "none"; }; }; services.syncoid = { enable = true; interval = "*-*-* *:15:00"; commonArgs = [ "--no-sync-snap" ]; commands = { "testing1" = { source = "backup@10.127.1.2:rpool_orm/state"; target = "rpool_elucredassa/backups/rpool_orm/state"; recursive = true; recvOptions = "ux recordsize o compression=lz4"; extraArgs = [ "--debug" ]; }; }; }; qenya.services.distributed-builds = { enable = true; keyFile = "/etc/ssh/ssh_host_ed25519_key"; builders = [ "kilgharrah" ]; }; fountain.users.qenya.enable = true; users.users.qenya.extraGroups = [ "wheel" ]; system.stateVersion = "24.11"; }