From a8f2e16dbc124bf63050b855b547153616d7b027 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 12 Jun 2024 06:09:58 -0500 Subject: [PATCH] refactor(nix/hm/price): separate `go` to separate conf --- users/price/conf/go/default.nix | 9 +++++++++ users/price/home.nix | 4 ---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 users/price/conf/go/default.nix diff --git a/users/price/conf/go/default.nix b/users/price/conf/go/default.nix new file mode 100644 index 00000000..c6366627 --- /dev/null +++ b/users/price/conf/go/default.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: +{ + programs.go = { + enable = true; + goBin = ".local/bin/go"; + goPath = ".local/share/go"; + }; + home.packages = with pkgs; [ (lib.hiPrio gotools) ]; +} diff --git a/users/price/home.nix b/users/price/home.nix index 0181501f..27c1e8e0 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -119,10 +119,6 @@ in qt6Packages.qt6ct libsForQt5.qt5ct ] - ++ [ - go - (lib.hiPrio gotools) - ] ++ [ age age-plugin-yubikey