{ config, pkgs, lib, ... }: { imports = [ ./hardware-configuration.nix ./filesystems.nix ./displays.nix ]; system.stateVersion = "23.05"; info.loc.purdue = true; persist = { directories = [ ]; files = [ ]; }; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems; environment.enableDebugInfo = true; services.printing.drivers = [ pkgs.tmx-cups-ppd ]; modules = { hardware = { gpu.intel = true; form.laptop = true; peripherals = { printing.enable = true; }; }; desktop = { wm.enable = true; gaming = { steam.enable = true; prismlauncher.enable = true; puzzles.enable = true; }; }; }; services.fprintd.enable = true; virtualisation.enable = true; programs.ns-usbloader.enable = true; hardware.uinput.enable = true; services.joycond.enable = true; hardware.printers.ensurePrinters = [ { name = "EPSON-TM-m30"; deviceUri = "lpd://169.254.184.17/queue"; model = "tm-m30-rastertotmt.ppd.gz"; } ]; services.fwupd = { enable = true; extraRemotes = [ "lvfs-testing" ]; uefiCapsuleSettings.DisableCapsuleUpdateOnDisk = "true"; }; console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz"; systemd.services.set-initial-backlight = { description = "Sets the initial backlight state on startup"; wantedBy = [ "sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\\x2deDP\\x2d1-intel_backlight.device" "sys-devices-pci0000:00-0000:00:02.0-drm-card1-card1\\x2deDP\\x2d1-intel_backlight.device" ]; after = [ "system-systemd\\x2dbacklight.slice" "systemd-backlight@backlight:intel_backlight.service" ]; serviceConfig.Type = "oneshot"; script = "${lib.getExe pkgs.brightnessctl} set 50%"; }; nix.buildMachines = [ #{ # hostName = "infini-desktop"; # system = "x86_64-linux"; # supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; # protocol = "ssh-ng"; # maxJobs = 16; # speedFactor = 8; # sshUser = "remotebuild"; #} { hostName = "infini-dl360"; systems = [ "x86_64-linux" "aarch64-linux" ]; supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; protocol = "ssh-ng"; maxJobs = 32; speedFactor = 16; sshUser = "remotebuild"; } ]; }