mtworx: set work email
This commit is contained in:
parent
ed93839785
commit
77339ec057
@ -31,6 +31,10 @@ in {
|
|||||||
type = bool;
|
type = bool;
|
||||||
default = false;
|
default = false;
|
||||||
};
|
};
|
||||||
|
email = lib.mkOption {
|
||||||
|
type = str;
|
||||||
|
default = "motiejus@jakstys.lt";
|
||||||
|
};
|
||||||
user = props;
|
user = props;
|
||||||
root = props;
|
root = props;
|
||||||
};
|
};
|
||||||
@ -57,13 +61,12 @@ in {
|
|||||||
|
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.users.${config.mj.username} = {pkgs, ...}:
|
home-manager.users.${config.mj.username} = {pkgs, ...}:
|
||||||
import ../../../shared/home/default.nix {
|
import ../../../shared/home {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
inherit (config.mj) stateVersion username;
|
inherit (config.mj) stateVersion username;
|
||||||
inherit (cfg) devTools;
|
inherit (cfg) devTools email;
|
||||||
hmOnly = false;
|
hmOnly = false;
|
||||||
email = "motiejus@jakstys.lt";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
mj.base.users.email = "motiejus.jakstys@chronosphere.io";
|
||||||
home.sessionVariables.GOPRIVATE = "github.com/chronosphereio";
|
home.sessionVariables.GOPRIVATE = "github.com/chronosphereio";
|
||||||
programs.git.extraConfig.url."git@github.com:".insteadOf = "https://github.com";
|
programs.git.extraConfig.url."git@github.com:".insteadOf = "https://github.com";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user