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




         

                              
              



                                                         
          
                                                                        

                 


                                        


            
          

             
    
 
                        
                  


                        

        





                      

        






                                     
 




























                                  

    



                                   


                          
      

    



                                             
 
{
  config,
  pkgs,
  ...
}:
{
  home.packages = with pkgs; [
    aider-chat
    basedpyright
    customPackages.llmPython.llm # llm and claude support
    delve
    dive # explore layers in docker images
    docker
    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
    ruff
    ruff-lsp
    rustup
    uv
    wireshark
  ];

  programs.alacritty = {
    enable = true;
    settings = {
      cursor = {
        style = "Block";
      };

      window = {
        opacity = 1.0;
        padding = {
          x = 2;
          y = 2;
        };
      };

      font = {
        normal = {
          family = "Source Code Pro";
          style = "Regular";
        };
        size = 16;
      };

      colors = {
        primary = {
          background = "0x1f2528";
          foreground = "0xc0c5ce";
        };

        normal = {
          black = "0x1f2528";
          red = "0xec5f67";
          green = "0x99c794";
          yellow = "0xfac863";
          blue = "0x6699cc";
          magenta = "0xc594c5";
          cyan = "0x5fb3b3";
          white = "0xc0c5ce";
        };

        bright = {
          black = "0x65737e";
          red = "0xec5f67";
          green = "0x99c794";
          yellow = "0xfac863";
          blue = "0x6699cc";
          magenta = "0xc594c5";
          cyan = "0x5fb3b3";
          white = "0xd8dee9";
        };
      };
    };
  };

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