mtworx: set work email

This commit is contained in:
2024-03-13 09:53:48 +02:00
parent ed93839785
commit 77339ec057
2 changed files with 7 additions and 3 deletions

View File

@@ -31,6 +31,10 @@ in {
type = bool;
default = false;
};
email = lib.mkOption {
type = str;
default = "motiejus@jakstys.lt";
};
user = props;
root = props;
};
@@ -57,13 +61,12 @@ in {
home-manager.useGlobalPkgs = true;
home-manager.users.${config.mj.username} = {pkgs, ...}:
import ../../../shared/home/default.nix {
import ../../../shared/home {
inherit lib;
inherit pkgs;
inherit (config.mj) stateVersion username;
inherit (cfg) devTools;
inherit (cfg) devTools email;
hmOnly = false;
email = "motiejus@jakstys.lt";
};
};
}