From bc40b7e0ad2ef5960b7f1695b4520909252a0e49 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 19 Dec 2024 12:54:16 -0800 Subject: switch to the newer version of nixfmt `nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively maintained, but also changes the style, so this commit touches all the files in the repository. --- nix/users/fcuny/go.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'nix/users/fcuny/go.nix') diff --git a/nix/users/fcuny/go.nix b/nix/users/fcuny/go.nix index b52f89e..401abe3 100644 --- a/nix/users/fcuny/go.nix +++ b/nix/users/fcuny/go.nix @@ -1,11 +1,21 @@ -{ config, pkgs, ... }: { - home.packages = with pkgs; [ go-tools golangci-lint gopls delve ]; +{ config, pkgs, ... }: +{ + home.packages = with pkgs; [ + go-tools + golangci-lint + gopls + delve + ]; programs.go = { enable = true; goPath = ".local/share/pkg.go"; goBin = ".local/bin.go"; - goPrivate = [ "github.rbx.com/*" "github.com/fcuny/*" "git.fcuny.net/*" ]; + goPrivate = [ + "github.rbx.com/*" + "github.com/fcuny/*" + "git.fcuny.net/*" + ]; }; home.sessionPath = [ config.home.sessionVariables.GOBIN ]; -- cgit 1.4.1