1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 16:10:45 +01:00

rm: revert NixOS

This commit is contained in:
Ryan Cao 2023-08-15 11:25:16 +08:00
parent d44d3919ed
commit 132956970f
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
5 changed files with 38 additions and 195 deletions

View file

@ -1,16 +1,10 @@
{
lib,
stdenv,
...
}: let
inherit (stdenv) isDarwin;
in {
{...}: {
programs.go = {
enable = true;
goPath = ".go";
};
home.file."Library/Application Support/go/env".text = lib.optionalString isDarwin ''
home.file."Library/Application Support/go/env".text = ''
GOTOOLCHAIN=path
GOPROXY=direct
'';