{ den, __findFile, modules, inputs, ... }: { flake-file.inputs = { raspberry-pi-nix.url = "github:cmyk/raspberry-pi-nix"; nixos-raspberrypi.url = "github:nvmd/nixos-raspberrypi/main"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; }; modules.raspberry-pi = { provides = { "5" = { nixos = {pkgs, ...}: { imports = [ # inputs.nixos-hardware.nixosModules.raspberry-pi-5 inputs.nixos-raspberrypi.lib.inject-overlays-global inputs.nixos-raspberrypi.nixosModules.trusted-nix-caches inputs.nixos-raspberrypi.lib.inject-overlays inputs.nixos-raspberrypi.nixosModules.raspberry-pi-5.base inputs.nixos-raspberrypi.nixosModules.raspberry-pi-5.page-size-16k inputs.nixos-raspberrypi.nixosModules.raspberry-pi-5.display-vc4 inputs.nixos-raspberrypi.nixosModules.raspberry-pi-5.bluetooth inputs.nixos-raspberrypi.nixosModules.sd-image ]; environment.systemPackages = with pkgs; [ libraspberrypi ]; _module.args = {inherit (inputs) nixos-raspberrypi;}; sdImage.compressImage = false; boot.loader.raspberry-pi.bootloader = "kernel"; # boot.initrd.systemd.tpm2.enable = false; # boot.initrd.allowMissingModules = true; boot.supportedFilesystems.zfs = false; # hardware.enableRedistributableFirmware = true; # fileSystems = { # "/boot/firmware" = { # device = "/dev/disk/by-uuid/2175-794E"; # fsType = "vfat"; # options = [ # "noatime" # "noauto" # "x-systemd.automount" # "x-systemd.idle-timeout=1min" # ]; # }; # "/" = { # device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; # fsType = "ext4"; # options = ["noatime"]; # }; # }; }; }; }; }; }