Compare commits

...

2 Commits

Author SHA1 Message Date
Giulio De Pasquale
e645c632cf flake: Add Go to X64 2023-03-03 10:03:26 -08:00
Giulio De Pasquale
b41bb668e6 home.go: Added go role 2023-03-03 09:43:59 -08:00
2 changed files with 9 additions and 1 deletions

View File

@ -89,7 +89,7 @@
};
giulioX64 = utilsLinuxX64.user.mkHMUser {
name = "giulio";
roles = [ "ssh" ];
roles = [ "ssh" "go" ];
};
giulioX64NoSSH = utilsLinuxX64.user.mkHMUser { name = "giulio"; };
};

8
roles/home/go.nix Normal file
View File

@ -0,0 +1,8 @@
{ config, pkgs, lib, ... }: {
programs.go.enable = true;
home.sessionVariables = {
GOPATH = "$HOME/.local/share/go";
PATH = "$PATH:$GOPATH/bin";
};
}