{ config, pkgs, ... }: { imports = [ ./mbim-reconnect.nix ../../configs/hw/tiny5.nix ../../configs/bluetooth.nix ../../configs/initrd/sshd.nix ../../configs/retiolum.nix ../../configs/wiregrill.nix ../../configs/earlyoom.nix ../../configs/networkd.nix ]; boot.kernelPackages = pkgs.linuxPackages_latest; boot.initrd.luks.devices.main.device = "/dev/nvme0n1p2"; boot.loader.efi.canTouchEfiVariables = true; boot.loader.systemd-boot.enable = true; fileSystems."/" = { device = "/dev/mapper/zoppovg0-root"; fsType = "btrfs"; options = ["defaults" "noatime" "compress=zstd"]; }; fileSystems."/boot" = { device = "/dev/nvme0n1p1"; fsType = "vfat"; }; fileSystems."/home" = { device = "/dev/mapper/zoppovg0-home"; fsType = "btrfs"; options = ["defaults" "noatime" "compress=zstd"]; }; fileSystems."/bku" = { device = "/dev/mapper/zoppovg0-bku"; fsType = "btrfs"; options = ["defaults" "noatime" "compress=zstd"]; }; # Keep the interface names zoppo runs with: mbim-reconnect uses # wwp0s20f0u5, which kernel names would turn into wwan0. networking.usePredictableInterfaceNames = true; networking.interfaces.eno1.useDHCP = true; hrm.network.interfaces.eno1.medium = "ethernet"; networking.wireless.enable = false; hrm.nftables.enable = true; krebs.build.host = config.krebs.hosts.zoppo; system.stateVersion = "23.05"; zramSwap.enable = true; zramSwap.swapDevices = 1; }