From 131932abdc8f3e7058a00e2a0ba9a00fdef5d175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 6 Oct 2023 14:32:52 +0300 Subject: [PATCH] work email --- flake.nix | 7 +++++-- shared/home/default.nix | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index d52d9e4..687e936 100644 --- a/flake.nix +++ b/flake.nix @@ -247,12 +247,15 @@ // flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs {inherit system;}; in { - homeConfigurations.motiejus = home-manager.lib.homeManagerConfiguration { + homeConfigurations.motiejusja = home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ shared/home ]; - extraSpecialArgs = {stateVersion = "23.05";}; + extraSpecialArgs = { + stateVersion = "23.05"; + email = "motiejusja@wix.com"; + }; }; devShells.default = pkgs.mkShellNoCC { diff --git a/shared/home/default.nix b/shared/home/default.nix index 501eebf..fcc7972 100644 --- a/shared/home/default.nix +++ b/shared/home/default.nix @@ -1,6 +1,7 @@ { pkgs, stateVersion, + email, ... }: { home = { @@ -27,7 +28,7 @@ programs.git = { enable = true; - userEmail = "motiejus@jakstys.lt"; + userEmail = email; userName = "Motiejus Jakštys"; aliases.yolo = "commit --amend --no-edit -a"; extraConfig = {