diff --git a/home-manager/users/albert/home.nix b/home-manager/users/albert/default.nix similarity index 99% rename from home-manager/users/albert/home.nix rename to home-manager/users/albert/default.nix index 297e7ca5..dbb5b4f9 100644 --- a/home-manager/users/albert/home.nix +++ b/home-manager/users/albert/default.nix @@ -10,7 +10,7 @@ user.signingkey = "64F6C4EB46C4543A"; commit.gpgsign = "true"; }; - } + }; accounts = { email = { diff --git a/home-manager/users/root/default.nix b/home-manager/users/root/default.nix new file mode 100644 index 00000000..9e44813d --- /dev/null +++ b/home-manager/users/root/default.nix @@ -0,0 +1,14 @@ +{ config, pkgs, hostname, hmStateVersion, ... }: { + home.stateVersion = hmStateVersion; + + programs.git = { + userName = "albert"; + userEmail = "albert@sysctl.io"; + extraConfig = { + core.askPass = "false"; + credential.helper = "cache --timeout=25920000"; + user.signingkey = "64F6C4EB46C4543A"; + commit.gpgsign = "true"; + }; + }; +} \ No newline at end of file