aboutsummaryrefslogblamecommitdiff
path: root/nix/users/fcuny/dev.nix
blob: c73d7287c0e7a55f9b3fdcd74c52364e0c6d17e8 (plain) (tree)
1
2
3
4
5
6
7
8
9


                              
        



                 
 



            






                                        
    




                                   


                          
      

    

                                                                                       



                                             
 
{ config, pkgs, ... }:
{
  home.packages = with pkgs; [
    # go
    go-tools
    golangci-lint
    gopls
    delve

    # python
    uv
    python3

    # 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.file.".config/just/justfile".text = builtins.readFile ../../../configs/justfile;

  home.sessionPath = [
    config.home.sessionVariables.GOBIN
    "${config.home.homeDirectory}/.local/bin"
  ];
}