aboutsummaryrefslogtreecommitdiff
path: root/users/profiles/dev.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-07-21 12:49:14 -0700
committerFranck Cuny <franck@fcuny.net>2025-07-21 12:49:14 -0700
commit3d6af5dc1c31d481a458ce00550b193d35648e32 (patch)
treebc343c343ffba009d33a95dcdffd5562ff0fc3ef /users/profiles/dev.nix
parentinstall minimal home-manager profile on the VM (diff)
downloadinfra-3d6af5dc1c31d481a458ce00550b193d35648e32.tar.gz
move user configurations to top-level
Diffstat (limited to 'users/profiles/dev.nix')
-rw-r--r--users/profiles/dev.nix52
1 files changed, 52 insertions, 0 deletions
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"
+ ];
+}