{ self, nixpkgs, nixos-hardware, ... }: let pkgs = import nixpkgs { system = "aarch64-linux"; }; in { imports = [ nixos-hardware.nixosModules.raspberry-pi-4 ../../users/root ../../users/erwin ]; eboskma = { users.erwin = { enable = true; }; base.kernel = pkgs.linuxPackages_rpi4; desktop.enable = true; fonts.enable = true; gnome.enable = true; greetd.enable = true; networking.enable = true; nix-common.enable = true; sound.enable = true; systemd.enable = true; }; hardware = { enableRedistributableFirmware = true; raspberry-pi."4" = { fkms-3d.enable = true; audio.enable = true; }; }; networking = { hostName = "eitri"; networkmanager = { enable = true; wifi = { backend = "iwd"; powersave = false; }; }; }; services.openssh.enable = true; environment.systemPackages = with pkgs; [ raspberrypi-eeprom ]; system.stateVersion = "22.11"; }