diff options
author | Franck Cuny <franck@fcuny.net> | 2023-09-14 17:18:09 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-09-14 17:36:58 -0700 |
commit | 17a8f86782b773c77880e34b6a02e53def4015e8 (patch) | |
tree | ee611470d040b90331865b7e519b7e737ea70c29 /home/profiles/dev.nix | |
parent | build(deps): bump cachix/install-nix-action from 22 to 23 (#2) (diff) | |
download | world-17a8f86782b773c77880e34b6a02e53def4015e8.tar.gz |
more configuration for darwin
Diffstat (limited to '')
-rw-r--r-- | home/profiles/dev.nix | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/home/profiles/dev.nix b/home/profiles/dev.nix index e2806ab..dd9409d 100644 --- a/home/profiles/dev.nix +++ b/home/profiles/dev.nix @@ -1,13 +1,5 @@ { pkgs, config, ... }: let - ruststable = (pkgs.rust-bin.stable.latest.default.override { - extensions = [ - "rust-src" - "rust-analyzer-preview" - "rust-analysis" - "rustfmt-preview" - ]; - }); pythonEnv = pkgs.python3.withPackages (p: with p; [ black click @@ -25,20 +17,19 @@ in enable = true; goPath = ".local/share/pkg.go"; goBin = ".local/bin.go"; - goPrivate = [ "git.fcuny.net" "golang.fcuny.net" ]; - package = pkgs.go_1_18; + package = pkgs.go_1_20; }; home.packages = with pkgs; [ go-tools pythonEnv google-cloud-sdk - ruststable + golangci-lint + gopls ]; home.sessionPath = [ config.home.sessionVariables.GOBIN - "$CARGO_HOME/bin" ]; home.sessionVariables = with config.xdg; { @@ -47,6 +38,5 @@ in PYLINTHOME = "${cacheHome}/pylint"; PYTHON_EGG_CACHE = "${cacheHome}/python-eggs"; MYPY_CACHE_DIR = "${cacheHome}/mypy"; - CARGO_HOME = "${dataHome}/cargo"; }; } |