diff --git a/flake.nix b/flake.nix index 2a2aaed..6d45e37 100644 --- a/flake.nix +++ b/flake.nix @@ -1,14 +1,16 @@ -{ description = "A few random scripts"; +{ + description = "A few random scripts"; inputs = { nixpkgs.url = github:nixos/nixpkgs/nixos-23.05; flake-utils.url = github:numtide/flake-utils; }; outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem ( system: - let pkgs = import nixpkgs { inherit system; }; - in{ - packages = { - default = pkgs.callPackage ./default.nix {}; - }; - }); + flake-utils.lib.eachDefaultSystem (system: + let pkgs = import nixpkgs { inherit system; }; + in { + packages = { + default = pkgs.callPackage ./default.nix { }; + }; + formatter = pkgs.nixpkgs-fmt; + }); }