{ config, lib, pkgs, ... }: with lib; let state-dir = "/state"; in { fudo.slynk.enable = true; environment.systemPackages = with pkgs; [ opencv-java ]; networking = { interfaces.intif0.useDHCP = true; firewall.enable = false; }; systemd.tmpfiles.rules = [ "L /root/.gnupg - - - - ${state-dir}/user/root/gnupg" "L /root/.ssh/id_rsa - - - - ${state-dir}/user/root/ssh/id_rsa" "L /root/.ssh/id_rsa.pub - - - - ${state-dir}/user/root/ssh/id_rsa.pub" "L /root/.ssh/known_hosts - - - - ${state-dir}/user/root/ssh/known_hosts" "L /var/lib/flatpak - - - - ${state-dir}/lib/flatpak" "L /etc/adjtime - - - - ${state-dir}/etc/adjtime" ]; services = { blueman.enable = true; openssh.hostKeys = [ { path = "${state-dir}/ssh/ssh_host_rsa_key"; type = "rsa"; bits = 4096; } { path = "${state-dir}/ssh/ssh_host_ed25519_key"; type = "ed25519"; } ]; }; environment.etc = { nixos.source = "/etc/nixos-live"; NIXOS.source = "${state-dir}/etc/NIXOS"; }; hardware = { bluetooth = { enable = true; package = pkgs.bluezFull; }; xpadneo.enable = true; }; }