a dotfile but it's really big
1{ lib, modulesPath, ... }:
2{
3 imports = [
4 (modulesPath + "/installer/sd-card/sd-image-aarch64-installer.nix")
5 ./torrent.nix
6 ];
7
8 sdImage.compressImage = false;
9 nixpkgs.hostPlatform = "aarch64-linux";
10 system.stateVersion = "24.11";
11
12 boot = {
13 supportedFilesystems.zfs = lib.mkForce false;
14 initrd.availableKernelModules = [
15 "xhci_pci"
16 "usbhid"
17 "usb_storage"
18 ];
19 };
20
21 services.openssh.settings.PermitRootLogin = "yes";
22}