diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-28 13:27:15 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-28 13:27:15 -0800 |
| commit | 04f0212de19ed1206eccc42c19e2b1464b446b5d (patch) | |
| tree | f7bb3c40a65a279ee7cd17ff75915c3475394602 /nix/users/fcuny/dev.nix | |
| parent | rename packages to pkgs (diff) | |
| download | infra-04f0212de19ed1206eccc42c19e2b1464b446b5d.tar.gz | |
simplify a bit home-manager configuration
Diffstat (limited to 'nix/users/fcuny/dev.nix')
| -rw-r--r-- | nix/users/fcuny/dev.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nix/users/fcuny/dev.nix b/nix/users/fcuny/dev.nix new file mode 100644 index 0000000..7126723 --- /dev/null +++ b/nix/users/fcuny/dev.nix @@ -0,0 +1,30 @@ +{ config, pkgs, ... }: +{ + home.packages = with pkgs; [ + # go + go-tools + golangci-lint + gopls + delve + + # nix + nil # nix lsp + nix-direnv # integration with direnv + nixfmt-rfc-style # new formatter + + # rust + rustup + ]; + + programs.go = { + enable = true; + goPath = ".local/share/pkg.go"; + goBin = ".local/bin.go"; + goPrivate = [ + "github.rbx.com/*" + "github.com/fcuny/*" + ]; + }; + + home.sessionPath = [ config.home.sessionVariables.GOBIN ]; +} |
