{ description = "scan2paperless flake"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; deno2nix.url = "github:SnO2WMaN/deno2nix"; flake-utils.url = "github:numtide/flake-utils"; devshell.url = "github:numtide/devshell"; devshell.inputs.flake-utils.follows = "flake-utils"; devshell.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, deno2nix, flake-utils, devshell, nixpkgs, }: flake-utils.lib.simpleFlake { inherit self nixpkgs; name = "scan2paperless"; preOverlays = [ devshell.overlay deno2nix.overlays.default ]; overlay = ./overlay.nix; shell = { pkgs }: pkgs.devshell.mkShell { imports = [ ]; # Add additional packages you'd like to be available in your devshell # PATH here devshell.packages = with pkgs; [ deno sane-backends python39Packages.img2pdf ]; bash.extra = '' export NVIM_USE_DENOLS=1 ''; }; }; }