nixos-config/config/instance-20221213-1915.nix
Charlotte 🦝 Delenk 3a07251792
All checks were successful
Hydra packages.aarch64-linux.plover-plugin-python-dictionary Hydra build #24784 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-python-dictionary
Hydra packages.x86_64-linux.plover-plugin-emoji Hydra build #24834 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-emoji
Hydra packages.aarch64-linux.plover-dict-didoesdigital Hydra build #24776 of nixos-config:pr629:packages.aarch64-linux.plover-dict-didoesdigital
Hydra packages.aarch64-linux.yiffstash Hydra build #24796 of nixos-config:pr629:packages.aarch64-linux.yiffstash
Hydra packages.aarch64-linux.constructium Hydra build #24745 of nixos-config:pr629:packages.aarch64-linux.constructium
Hydra packages.aarch64-linux.plover-plugin-yaml-dictionary Hydra build #24789 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-yaml-dictionary
Hydra packages.x86_64-linux.emoji-volpeon-raccoon Hydra build #24815 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-raccoon
Hydra packages.x86_64-linux.bsnes-plus Hydra build #24799 of nixos-config:pr629:packages.x86_64-linux.bsnes-plus
Hydra packages.x86_64-linux.papermc Hydra build #24829 of nixos-config:pr629:packages.x86_64-linux.papermc
Hydra packages.aarch64-linux.python-mautrix Hydra build #24791 of nixos-config:pr629:packages.aarch64-linux.python-mautrix
Hydra nixos-8gb-fsn1-1.x86_64-linux Hydra build #24741 of nixos-config:pr629:nixos-8gb-fsn1-1.x86_64-linux
Hydra packages.x86_64-linux.plover-plugin-last-translation Hydra build #24836 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-last-translation
Hydra packages.x86_64-linux.plover-plugin-stenotype-extended Hydra build #24841 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-stenotype-extended
Hydra packages.x86_64-linux.nasin-nanpa Hydra build #24828 of nixos-config:pr629:packages.x86_64-linux.nasin-nanpa
Hydra packages.x86_64-linux.alco-sans Hydra build #24797 of nixos-config:pr629:packages.x86_64-linux.alco-sans
Hydra packages.x86_64-linux.emoji-volpeon-blobfox Hydra build #24805 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-blobfox
Hydra packages.x86_64-linux.mautrix-slack Hydra build #24823 of nixos-config:pr629:packages.x86_64-linux.mautrix-slack
Hydra packages.aarch64-linux.bsnes-plus Hydra build #24744 of nixos-config:pr629:packages.aarch64-linux.bsnes-plus
Hydra packages.x86_64-linux.plover-plugin-dict-commands Hydra build #24832 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-dict-commands
Hydra packages.x86_64-linux.emoji-volpeon-bunhd-flip Hydra build #24808 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-bunhd-flip
Hydra packages.aarch64-linux.emoji-lotte Hydra build #24747 of nixos-config:pr629:packages.aarch64-linux.emoji-lotte
Hydra packages.aarch64-linux.plover-plugin-last-translation Hydra build #24781 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-last-translation
Hydra packages.aarch64-linux.papermc Hydra build #24774 of nixos-config:pr629:packages.aarch64-linux.papermc
Hydra packages.aarch64-linux.plover-plugin-rkb1-hid Hydra build #24785 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-rkb1-hid
Hydra packages.x86_64-linux.mautrix-telegram Hydra build #24824 of nixos-config:pr629:packages.x86_64-linux.mautrix-telegram
Hydra packages.aarch64-linux.miifox-net Hydra build #24772 of nixos-config:pr629:packages.aarch64-linux.miifox-net
Hydra packages.aarch64-linux.asar-asm Hydra build #24743 of nixos-config:pr629:packages.aarch64-linux.asar-asm
Hydra devShell.x86_64-linux Hydra build #24738 of nixos-config:pr629:devShell.x86_64-linux
Hydra packages.x86_64-linux.emoji-raccoon Hydra build #24803 of nixos-config:pr629:packages.x86_64-linux.emoji-raccoon
Hydra packages.x86_64-linux.python-tulir-telethon Hydra build #24850 of nixos-config:pr629:packages.x86_64-linux.python-tulir-telethon
Hydra packages.aarch64-linux.python-simplefuzzyset Hydra build #24794 of nixos-config:pr629:packages.aarch64-linux.python-simplefuzzyset
Hydra packages.x86_64-linux.matrix-media-repo Hydra build #24821 of nixos-config:pr629:packages.x86_64-linux.matrix-media-repo
Hydra packages.x86_64-linux.emoji-rosaflags Hydra build #24804 of nixos-config:pr629:packages.x86_64-linux.emoji-rosaflags
Hydra nas.x86_64-linux Hydra build #24740 of nixos-config:pr629:nas.x86_64-linux
Hydra packages.x86_64-linux.mautrix-whatsapp Hydra build #24825 of nixos-config:pr629:packages.x86_64-linux.mautrix-whatsapp
Hydra packages.x86_64-linux.asar-asm Hydra build #24798 of nixos-config:pr629:packages.x86_64-linux.asar-asm
Hydra packages.aarch64-linux.emoji-volpeon-neocat Hydra build #24758 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-neocat
Hydra packages.aarch64-linux.emoji-volpeon-neofox Hydra build #24759 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-neofox
Hydra packages.aarch64-linux.fairfax-hd Hydra build #24763 of nixos-config:pr629:packages.aarch64-linux.fairfax-hd
Hydra packages.aarch64-linux.plover-plugin-lapwing-aio Hydra build #24780 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-lapwing-aio
Hydra packages.x86_64-linux.plover-plugin-machine-hid Hydra build #24837 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-machine-hid
Hydra packages.aarch64-linux.python-plover-stroke Hydra build #24792 of nixos-config:pr629:packages.aarch64-linux.python-plover-stroke
Hydra packages.x86_64-linux.emoji-lotte Hydra build #24802 of nixos-config:pr629:packages.x86_64-linux.emoji-lotte
Hydra packages.x86_64-linux.plover-plugin-modal-dictionary Hydra build #24838 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-modal-dictionary
Hydra packages.x86_64-linux.emoji-volpeon-gphn Hydra build #24812 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-gphn
Hydra packages.x86_64-linux.lotte-art Hydra build #24820 of nixos-config:pr629:packages.x86_64-linux.lotte-art
Hydra packages.x86_64-linux.plover-plugin-tapey-tape Hydra build #24843 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-tapey-tape
Hydra packages.aarch64-linux.plover-plugin-dotool-output Hydra build #24778 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-dotool-output
Hydra packages.x86_64-linux.plover-plugin-dotool-output Hydra build #24833 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-dotool-output
Hydra packages.aarch64-linux.mautrix-slack Hydra build #24768 of nixos-config:pr629:packages.aarch64-linux.mautrix-slack
Hydra packages.x86_64-linux.plover Hydra build #24830 of nixos-config:pr629:packages.x86_64-linux.plover
Hydra packages.x86_64-linux.emoji-volpeon-bunhd Hydra build #24807 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-bunhd
Hydra packages.aarch64-linux.fairfax Hydra build #24762 of nixos-config:pr629:packages.aarch64-linux.fairfax
Hydra packages.x86_64-linux.miifox-net Hydra build #24827 of nixos-config:pr629:packages.x86_64-linux.miifox-net
Hydra packages.x86_64-linux.python-plover-stroke Hydra build #24847 of nixos-config:pr629:packages.x86_64-linux.python-plover-stroke
Hydra packages.x86_64-linux.python-rtf-tokenize Hydra build #24848 of nixos-config:pr629:packages.x86_64-linux.python-rtf-tokenize
Hydra packages.x86_64-linux.fairfax-hd Hydra build #24818 of nixos-config:pr629:packages.x86_64-linux.fairfax-hd
Hydra packages.aarch64-linux.plover-plugin-dict-commands Hydra build #24777 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-dict-commands
Hydra packages.x86_64-linux.emoji-volpeon-neofox Hydra build #24814 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-neofox
Hydra packages.x86_64-linux.plover-plugin-yaml-dictionary Hydra build #24844 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-yaml-dictionary
Hydra packages.x86_64-linux.fairfax Hydra build #24817 of nixos-config:pr629:packages.x86_64-linux.fairfax
Hydra packages.aarch64-linux.kreative-square Hydra build #24764 of nixos-config:pr629:packages.aarch64-linux.kreative-square
Hydra packages.aarch64-linux.emoji-volpeon-bunhd-flip Hydra build #24753 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-bunhd-flip
Hydra packages.x86_64-linux.plover-plugins-manager Hydra build #24845 of nixos-config:pr629:packages.x86_64-linux.plover-plugins-manager
Hydra packages.x86_64-linux.plover-plugin-python-dictionary Hydra build #24839 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-python-dictionary
Hydra packages.aarch64-linux.python-rtf-tokenize Hydra build #24793 of nixos-config:pr629:packages.aarch64-linux.python-rtf-tokenize
Hydra packages.aarch64-linux.mautrix-whatsapp Hydra build #24770 of nixos-config:pr629:packages.aarch64-linux.mautrix-whatsapp
Hydra packages.aarch64-linux.plover-plugin-tapey-tape Hydra build #24788 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-tapey-tape
Hydra packages.aarch64-linux.emoji-volpeon-raccoon Hydra build #24760 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-raccoon
Hydra packages.aarch64-linux.plover-plugins-manager Hydra build #24790 of nixos-config:pr629:packages.aarch64-linux.plover-plugins-manager
Hydra packages.aarch64-linux.mautrix-discord Hydra build #24767 of nixos-config:pr629:packages.aarch64-linux.mautrix-discord
Hydra packages.x86_64-linux.emoji-volpeon-neocat Hydra build #24813 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-neocat
Hydra packages.aarch64-linux.plover-plugin-emoji Hydra build #24779 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-emoji
Hydra packages.aarch64-linux.mgba-dev Hydra build #24771 of nixos-config:pr629:packages.aarch64-linux.mgba-dev
Hydra packages.x86_64-linux.yiffstash Hydra build #24851 of nixos-config:pr629:packages.x86_64-linux.yiffstash
Hydra packages.aarch64-linux.emoji-volpeon-vlpn Hydra build #24761 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-vlpn
Hydra packages.x86_64-linux.mgba-dev Hydra build #24826 of nixos-config:pr629:packages.x86_64-linux.mgba-dev
Hydra packages.aarch64-linux.nasin-nanpa Hydra build #24773 of nixos-config:pr629:packages.aarch64-linux.nasin-nanpa
Hydra packages.x86_64-linux.plover-plugin-stitching Hydra build #24842 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-stitching
Hydra packages.aarch64-linux.alco-sans Hydra build #24742 of nixos-config:pr629:packages.aarch64-linux.alco-sans
Hydra packages.aarch64-linux.emoji-volpeon-floof Hydra build #24755 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-floof
Hydra packages.aarch64-linux.plover Hydra build #24775 of nixos-config:pr629:packages.aarch64-linux.plover
Hydra packages.aarch64-linux.emoji-volpeon-blobfox-flip Hydra build #24751 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-blobfox-flip
Hydra packages.aarch64-linux.emoji-caro Hydra build #24746 of nixos-config:pr629:packages.aarch64-linux.emoji-caro
Hydra instance-20221213-1915.aarch64-linux Hydra build #24739 of nixos-config:pr629:instance-20221213-1915.aarch64-linux
Hydra packages.x86_64-linux.kreative-square Hydra build #24819 of nixos-config:pr629:packages.x86_64-linux.kreative-square
Hydra packages.aarch64-linux.emoji-volpeon-gphn Hydra build #24757 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-gphn
Hydra packages.aarch64-linux.emoji-raccoon Hydra build #24748 of nixos-config:pr629:packages.aarch64-linux.emoji-raccoon
Hydra packages.aarch64-linux.matrix-media-repo Hydra build #24766 of nixos-config:pr629:packages.aarch64-linux.matrix-media-repo
Hydra packages.aarch64-linux.emoji-volpeon-blobfox Hydra build #24750 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-blobfox
Hydra packages.x86_64-linux.mautrix-discord Hydra build #24822 of nixos-config:pr629:packages.x86_64-linux.mautrix-discord
Hydra packages.aarch64-linux.emoji-rosaflags Hydra build #24749 of nixos-config:pr629:packages.aarch64-linux.emoji-rosaflags
Hydra packages.x86_64-linux.emoji-volpeon-floof Hydra build #24810 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-floof
Hydra packages.x86_64-linux.emoji-volpeon-vlpn Hydra build #24816 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-vlpn
Hydra packages.x86_64-linux.constructium Hydra build #24800 of nixos-config:pr629:packages.x86_64-linux.constructium
Hydra packages.aarch64-linux.emoji-volpeon-bunhd Hydra build #24752 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-bunhd
Hydra packages.x86_64-linux.plover-dict-didoesdigital Hydra build #24831 of nixos-config:pr629:packages.x86_64-linux.plover-dict-didoesdigital
Hydra packages.aarch64-linux.plover-plugin-stenotype-extended Hydra build #24786 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-stenotype-extended
Hydra packages.aarch64-linux.lotte-art Hydra build #24765 of nixos-config:pr629:packages.aarch64-linux.lotte-art
Hydra packages.aarch64-linux.plover-plugin-modal-dictionary Hydra build #24783 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-modal-dictionary
Hydra packages.aarch64-linux.emoji-volpeon-fox Hydra build #24756 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-fox
Hydra packages.x86_64-linux.plover-plugin-rkb1-hid Hydra build #24840 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-rkb1-hid
Hydra packages.aarch64-linux.emoji-volpeon-drgn Hydra build #24754 of nixos-config:pr629:packages.aarch64-linux.emoji-volpeon-drgn
Hydra packages.x86_64-linux.python-simplefuzzyset Hydra build #24849 of nixos-config:pr629:packages.x86_64-linux.python-simplefuzzyset
Hydra packages.x86_64-linux.plover-plugin-lapwing-aio Hydra build #24835 of nixos-config:pr629:packages.x86_64-linux.plover-plugin-lapwing-aio
Hydra packages.aarch64-linux.plover-plugin-stitching Hydra build #24787 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-stitching
Hydra packages.x86_64-linux.emoji-caro Hydra build #24801 of nixos-config:pr629:packages.x86_64-linux.emoji-caro
Hydra packages.x86_64-linux.emoji-volpeon-blobfox-flip Hydra build #24806 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-blobfox-flip
Hydra packages.x86_64-linux.emoji-volpeon-fox Hydra build #24811 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-fox
Hydra packages.aarch64-linux.plover-plugin-machine-hid Hydra build #24782 of nixos-config:pr629:packages.aarch64-linux.plover-plugin-machine-hid
Hydra packages.aarch64-linux.mautrix-telegram Hydra build #24769 of nixos-config:pr629:packages.aarch64-linux.mautrix-telegram
Hydra packages.x86_64-linux.python-mautrix Hydra build #24846 of nixos-config:pr629:packages.x86_64-linux.python-mautrix
Hydra packages.x86_64-linux.emoji-volpeon-drgn Hydra build #24809 of nixos-config:pr629:packages.x86_64-linux.emoji-volpeon-drgn
Hydra packages.aarch64-linux.python-tulir-telethon Hydra build #24795 of nixos-config:pr629:packages.aarch64-linux.python-tulir-telethon
disable minecraft
2024-11-10 10:53:17 +01:00

154 lines
3.8 KiB
Nix

{
config,
lib,
modulesPath,
...
}@args:
{
networking.hostName = "instance-20221213-1915";
networking.hostId = "746d4523";
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
./systemd-boot.nix
./server.nix
./wireguard/public-server.nix
./services/named-submissive.nix
./services/shitalloverme.nix
./users/remote-build.nix
./services/atticd.nix
#./services/minecraft.nix
./services/postgres.nix
./services/uptime-kuma.nix
./services/reverse-proxy.nix
./wireguard
./zfs.nix
#./services/kubernetes.nix
./services/gitea.nix
./services/chir-rs.nix
];
boot.initrd.availableKernelModules = [
"xhci_pci"
"virtio_pci"
"usbhid"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "tank/local/root";
fsType = "zfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/6557-C4A0";
fsType = "vfat";
};
fileSystems."/nix" = {
device = "tank/local/nix";
fsType = "zfs";
};
fileSystems."/persist" = {
device = "tank/safe/persist";
fsType = "zfs";
neededForBoot = true;
};
fileSystems."/home" = {
device = "tank/safe/home";
fsType = "zfs";
};
networking.useDHCP = lib.mkDefault true;
# https://grahamc.com/blog/erase-your-darlings
boot.initrd.postDeviceCommands = lib.mkAfter ''
zfs rollback -r tank/local/root@blank
'';
services.openssh = {
hostKeys = [
{
path = "/persist/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
{
path = "/persist/ssh/ssh_host_rsa_key";
type = "rsa";
bits = 4096;
}
];
};
systemd.tmpfiles.rules = [
"L /var/lib/acme - - - - /persist/var/lib/acme"
"L /var/lib/tailscale/tailscaled.state - - - - /persist/var/lib/tailscale/tailscaled.state"
"d /build - - - - -"
"L /var/lib/ipfs - - - - /persist/var/lib/ipfs"
"L /var/lib/uptime-kuma - - - - /persist/var/lib/uptime-kuma"
];
services.postgresql.dataDir = "/persist/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}";
networking.wireguard.interfaces."wg0".ips = [ "fd0d:a262:1fa6:e621:746d:4523:5c04:1453/64" ];
home-manager.users.darkkirb = import ./home-manager/darkkirb.nix {
desktop = false;
inherit args;
};
nix.settings.cores = 4;
nix.settings.max-jobs = 4;
nix.settings.system-features = [
"nixos-test"
"big-parallel"
"benchmark"
"gccarch-armv8-a"
"gccarch-armv8.1-a"
"gccarch-armv8.2-a"
"ca-derivations"
];
nix.daemonCPUSchedPolicy = "idle";
nix.daemonIOSchedClass = "idle";
boot.binfmt.emulatedSystems = [
"riscv32-linux"
"riscv64-linux"
];
system.stateVersion = "22.11";
sops.secrets."root/.ssh/id_ed25519" = {
owner = "root";
path = "/root/.ssh/id_ed25519";
};
sops.secrets."services/ssh/host-key" = {
owner = "root";
path = "/etc/secrets/initrd/ssh_host_ed25519_key";
};
sops.age.sshKeyPaths = lib.mkForce [ "/persist/ssh/ssh_host_ed25519_key" ];
services.bind.forwarders = lib.mkForce [ ];
boot.loader.systemd-boot.configurationLimit = lib.mkForce 1;
services.tailscale.useRoutingFeatures = "server";
services.postgresql.settings = {
max_connections = 200;
shared_buffers = "6GB";
effective_cache_size = "18GB";
maintenance_work_mem = "1536MB";
checkpoint_completion_target = 0.9;
wal_buffers = "16MB";
default_statistics_target = 100;
random_page_cost = 1.1;
effective_io_concurrency = 200;
work_mem = "15728kB";
min_wal_size = "1GB";
max_wal_size = "4GB";
max_worker_processes = 4;
max_parallel_workers_per_gather = 2;
max_parallel_workers = 4;
max_parallel_maintenance_workers = 2;
};
services.restic.backups.sysbackup.paths = [ "/persist" ];
}