aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/dev.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-28 13:27:15 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-28 13:27:15 -0800
commit04f0212de19ed1206eccc42c19e2b1464b446b5d (patch)
treef7bb3c40a65a279ee7cd17ff75915c3475394602 /nix/users/fcuny/dev.nix
parentrename packages to pkgs (diff)
downloadinfra-04f0212de19ed1206eccc42c19e2b1464b446b5d.tar.gz
simplify a bit home-manager configuration
Diffstat (limited to 'nix/users/fcuny/dev.nix')
-rw-r--r--nix/users/fcuny/dev.nix30
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 ];
+}