From 3d6af5dc1c31d481a458ce00550b193d35648e32 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Jul 2025 12:49:14 -0700 Subject: move user configurations to top-level --- users/profiles/dev.nix | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 users/profiles/dev.nix (limited to 'users/profiles/dev.nix') diff --git a/users/profiles/dev.nix b/users/profiles/dev.nix new file mode 100644 index 0000000..0c9a07c --- /dev/null +++ b/users/profiles/dev.nix @@ -0,0 +1,52 @@ +{ + config, + pkgs, + ... +}: +{ + home.packages = + with pkgs; + [ + docker + docker-credential-helpers + dive # explore layers in docker images + wireshark + ] + ++ [ + llmPython.llm # llm and claude support + aider-chat + ] + ++ [ + delve + go-tools # collection of tools, https://github.com/dominikh/go-tools + golangci-lint + gopls + ] + ++ [ + nil # nix lsp + nix-direnv # integration with direnv + nixfmt-rfc-style # new formatter + ] + ++ [ + python3 + basedpyright + ruff + # ruff-lsp + uv + ]; + + 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 + "${config.home.homeDirectory}/.local/bin" + ]; +} -- cgit v1.2.3