{ config, lib, pkgs, ... }: with lib; let stateDir = "/state"; in { fudo = { wallfly.location = "family_room"; }; networking = { interfaces.intif0.useDHCP = true; firewall.enable = false; }; systemd.tmpfiles.rules = [ "L /etc/adjtime - - - - ${stateDir}/etc/adjtime" "d ${stateDir}/lib/cups 755 root root - -" "d ${stateDir}/lib/flatpak 755 root root - -" ]; fileSystems = { "/var/lib/cups" = { device = "${stateDir}/lib/cups"; options = [ "bind" ]; }; "/var/lib/flatpak" = { device = "${stateDir}/lib/flatpak"; options = [ "bind" ]; }; }; environment.etc = { nixos.source = "/etc/nixos-live"; NIXOS.source = "${stateDir}/etc/NIXOS"; }; systemd.targets = { sleep.enable = false; suspend.enable = false; hibernate.enable = false; hybrid-sleep.enable = false; }; }