{ config, pkgs, lib, self, ... }: { imports = [ self.inputs.srvos.nixosModules.server self.inputs.srvos.nixosModules.hardware-hetzner-online-amd self.inputs.srvos.nixosModules.mixins-nginx ]; jopejoe1 = { local.enable = true; nix.enable = true; user = { jopejoe1.enable = true; root.enable = true; }; ssh.enable = true; }; boot.initrd.availableKernelModules = [ "ahci" "nvme" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; boot.loader = { grub = { enable = true; }; }; systemd.network.networks."10-uplink".networkConfig.Address = " 2a01:4f8:a0:31e5::/64"; time.timeZone = "Europe/Berlin"; services.openssh.settings.PermitRootLogin = lib.mkForce "yes"; services.openssh.ports = [ 22 ]; disko.devices = { disk = { one = { type = "disk"; device = "/dev/nvme0n1"; content = { type = "gpt"; partitions = { boot = { size = "500M"; type = "EF00"; content = { type = "mdraid"; name = "boot"; }; }; primary = { size = "100%"; content = { type = "lvm_pv"; vg = "pool"; }; }; }; }; }; two = { type = "disk"; device = "/dev/nvme1n1"; content = { type = "gpt"; partitions = { boot = { size = "500M"; type = "EF00"; content = { type = "mdraid"; name = "boot"; }; }; primary = { size = "100%"; content = { type = "lvm_pv"; vg = "pool"; }; }; }; }; }; }; mdadm = { boot = { type = "mdadm"; level = 1; metadata = "1.0"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; }; lvm_vg = { pool = { type = "lvm_vg"; lvs = { root = { size = "95%FREE"; lvm_type = "raid1"; extraArgs = [ "--raidintegrity" "y" ]; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; mountOptions = [ "defaults" ]; }; }; }; }; }; }; }