# /etc/nixos/flake.nix { description = "flake for a remote display on a raspi"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixpkgs-unstable"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11"; agenix.url = "github:ryantm/agenix"; }; outputs = {nixpkgs, nixpkgs-stable, agenix, ...} @ inputs: let system = "aarch64-linux"; stable = import nixpkgs-stable { inherit system; config.allowUnfree = true; }; in { nixosConfigurations.nixpi = nixpkgs.lib.nixosSystem { inherit system; specialArgs = { inherit inputs stable; }; modules = [ ./configuration.nix agenix.nixosModules.default ]; }; # formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra; }; }