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:
parent
d44d3919ed
commit
132956970f
5 changed files with 38 additions and 195 deletions
|
|
@ -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
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue