diff --git a/flake.nix b/flake.nix index c0b7d46..7e97288 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,17 @@ system, ... }: { + _module.args.pkgs = import inputs.nixpkgs { + inherit system; + overlays = [ + (final: prev: { + go = prev.go_1_21; + gopls = prev.gopls.override {buildGoModule = prev.buildGo121Module;}; + }) + ]; + config = {}; + }; + treefmt = { projectRootFile = ".git/config"; programs = {