GOPATH
This commit is contained in:
parent
1da2b2de67
commit
8c87e00502
@ -50,13 +50,18 @@
|
|||||||
if (pkgs.stdenv.hostPlatform.system == "x86_64-linux")
|
if (pkgs.stdenv.hostPlatform.system == "x86_64-linux")
|
||||||
then pkgs.firefox-bin
|
then pkgs.firefox-bin
|
||||||
else pkgs.firefox;
|
else pkgs.firefox;
|
||||||
|
homeDirectory = "/home/${username}";
|
||||||
in {
|
in {
|
||||||
home = {
|
home = {
|
||||||
inherit stateVersion username;
|
inherit stateVersion username homeDirectory;
|
||||||
homeDirectory = "/home/${username}";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".cache/evolution/.stignore".text = "*.db";
|
home.file.".cache/evolution/.stignore".text = "*.db";
|
||||||
|
|
||||||
|
home.sessionVariables = lib.mkIf devTools {
|
||||||
|
GOPATH = "${homeDirectory}/.go";
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
lib.mkMerge [
|
lib.mkMerge [
|
||||||
(lib.mkIf devTools [
|
(lib.mkIf devTools [
|
||||||
|
Loading…
Reference in New Issue
Block a user