feat: finish transition to flake-parts

This commit is contained in:
oddlama 2024-06-01 00:31:38 +02:00
parent 1424778bc2
commit 78b92f06cc
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
24 changed files with 237 additions and 277 deletions

View file

@ -12,6 +12,7 @@
#./stalwart-mail.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
boot.mode = "bios";
users.groups.acme.members = ["nginx"];

View file

@ -32,7 +32,9 @@
./net.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
boot.mode = "efi";
boot.kernelModules = ["nvidia_uvm"]; # FIXME: For some reason this doesn't load automatically for me, causing CUDA_ERROR_UNKNOWN (999) issues when trying to cuInit
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
boot.binfmt.emulatedSystems = ["aarch64-linux"];
}

View file

@ -27,6 +27,7 @@
./net.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
boot.mode = "efi";
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];

View file

@ -16,6 +16,7 @@
./oauth2.nix
];
nixpkgs.hostPlatform = "x86_64-linux";
boot.mode = "bios";
wireguard.proxy-sentinel.firewallRuleForAll.allowedTCPPorts = [80 443];

View file

@ -22,6 +22,7 @@
topology.self.hardware.info = "AMD Ryzen Threadripper 1950X, 96GB RAM";
nixpkgs.hostPlatform = "x86_64-linux";
boot.mode = "efi";
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "e1000e" "alx"];

View file

@ -24,6 +24,7 @@
topology.self.hardware.image = ../../topology/images/odroid-h3.png;
topology.self.hardware.info = "O-Droid H3, 64GB RAM";
nixpkgs.hostPlatform = "x86_64-linux";
boot.mode = "efi";
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" "r8169"];

View file

@ -28,6 +28,7 @@ in {
topology.self.hardware.image = ../../topology/images/odroid-n2plus.png;
topology.self.hardware.info = "O-Droid N2+";
nixpkgs.hostPlatform = "aarch64-linux";
boot.mode = "efi";
meta.promtail = {