mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 16:10:45 +01:00
feat: add nixos (doesn't work yet)
This commit is contained in:
parent
9f1c1a8c22
commit
d44d3919ed
7 changed files with 194 additions and 35 deletions
|
|
@ -2,6 +2,7 @@
|
|||
programs.bat = {
|
||||
enable = true;
|
||||
catppuccin.enable = true;
|
||||
|
||||
config = {
|
||||
style = "plain";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,10 +1,16 @@
|
|||
{...}: {
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
...
|
||||
}: let
|
||||
inherit (stdenv) isDarwin;
|
||||
in {
|
||||
programs.go = {
|
||||
enable = true;
|
||||
goPath = ".go";
|
||||
};
|
||||
|
||||
home.file."Library/Application Support/go/env".text = ''
|
||||
home.file."Library/Application Support/go/env".text = lib.optionalString isDarwin ''
|
||||
GOTOOLCHAIN=path
|
||||
GOPROXY=direct
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue