From 94142ef5780de4a049436de08b8d7e0cd3d04245 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 14 Dec 2023 06:19:50 -0800 Subject: simplify the layout --- home/profiles/dev.nix | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 home/profiles/dev.nix (limited to 'home/profiles/dev.nix') diff --git a/home/profiles/dev.nix b/home/profiles/dev.nix deleted file mode 100644 index a860027..0000000 --- a/home/profiles/dev.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ pkgs, config, ... }: -let - pythonEnv = pkgs.python3.withPackages (p: with p; [ - black - click - isort - pylsp-mypy - requests - types-requests - pip - ipython - virtualenv - ]); -in -{ - programs.go = { - enable = true; - goPath = ".local/share/pkg.go"; - goBin = ".local/bin.go"; - package = pkgs.go_1_20; - }; - - home.packages = with pkgs; [ - go-tools - golangci-lint - gopls - - dive # explore layers in docker images - - pythonEnv - - google-cloud-sdk - - ]; - - home.sessionPath = [ - config.home.sessionVariables.GOBIN - ]; - - home.sessionVariables = with config.xdg; { - IPYTHONDIR = "${cacheHome}/ipython"; - PIP_LOG = "${cacheHome}/pip/pip.log"; - PYLINTHOME = "${cacheHome}/pylint"; - PYTHON_EGG_CACHE = "${cacheHome}/python-eggs"; - MYPY_CACHE_DIR = "${cacheHome}/mypy"; - }; -} -- cgit v1.2.3