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


                              

              
        



                 
 



            






                                        
    
 





                                                                     



                                   


                          
      

    

                                                                                       



                                             
 
{ config, pkgs, ... }:
{
  home.packages = with pkgs; [
    aider-chat

    # 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.emacs = {
    enable = true;
    # https://github.com/NixOS/nixpkgs/issues/395169
    package = pkgs.emacs.override { withNativeCompilation = false; };
  };

  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"
  ];
}