{ description = "Nightshade — personal save-for-later + e-reader proxy for Miniflux"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; outputs = { self, nixpkgs }: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f { inherit system; pkgs = import nixpkgs { inherit system; }; }); in { packages = forAllSystems ({ pkgs, ... }: { nightshade = pkgs.callPackage ./package.nix { }; default = pkgs.callPackage ./package.nix { }; }); devShells = forAllSystems ({ pkgs, ... }: { default = pkgs.mkShell { buildInputs = with pkgs; [ nodejs_22 pnpm ]; }; }); nixosModules.default = import ./module.nix { inherit self; }; nixosModules.nightshade = import ./module.nix { inherit self; }; }; }