{ config, lib, pkgs, ... }: { imports = [ ../../configs/hw/tiny5.nix ../../configs/bluetooth.nix ../../configs/initrd/sshd.nix ../../configs/retiolum.nix ../../configs/wiregrill.nix ../../configs/earlyoom.nix ../../configs/networkd.nix { # EIZO FlexScan EV2740X services.udev.extraRules = /* sh */ '' SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="056d", ATTRS{idProduct}=="4080", \ GROUP="plugdev", MODE="0660" ''; users.groups.plugdev = {}; # https://github.com/NixOS/nixpkgs/pull/272506 } { # for rigol-dho804 services.ntpd-rs.enable = true; services.ntpd-rs.settings = { observability = { log-level = "warn"; }; server = [ { listen = "0.0.0.0:123"; } ]; }; services.timesyncd.enable = lib.mkForce false; hrm.nftables.tables.filter.chains.input.rules.ntp = { iifname = "eth0"; udp.dport = [ "ntp" ]; verdict = "accept"; }; } ]; boot.kernelPackages = pkgs.linuxPackages_latest; boot.initrd.luks.devices.main.device = "/dev/sda2"; boot.loader.efi.canTouchEfiVariables = true; boot.loader.systemd-boot.enable = true; fileSystems."/" = { device = "/dev/mapper/wuvga-root"; fsType = "ext4"; options = ["defaults" "noatime"]; }; fileSystems."/boot" = { device = "/dev/sda1"; fsType = "vfat"; }; fileSystems."/home" = { device = "/dev/mapper/wuvga-home"; fsType = "ext4"; options = ["defaults" "noatime"]; }; fileSystems."/bku" = { device = "/dev/mapper/wuvga-bku"; fsType = "ext4"; options = ["defaults" "noatime"]; }; hrm.nftables.enable = true; krebs.build.host = config.krebs.hosts.dule; system.stateVersion = "23.05"; zramSwap.enable = true; zramSwap.swapDevices = 1; }