single home module

This commit is contained in:
John Lancaster
2024-12-08 16:34:11 -06:00
parent fd21e90e1d
commit d22763540a
2 changed files with 7 additions and 11 deletions

View File

@@ -9,8 +9,13 @@ let
homePath = "/srv/panoptes";
in
{
imports = [ ./git.nix ];
programs.git.extraConfig.safe.directory = "${homePath}";
programs.git = {
enable = true;
extraConfig.credential.helper = "store --file ~/.git-credentials";
userName = "John Lancaster";
userEmail = "32917998+jsl12@users.noreply.github.com";
extraConfig.safe.directory = "${homePath}";
};
nixpkgs.config.allowUnfree = true;

View File

@@ -1,9 +0,0 @@
{ ... }:
{
programs.git = {
enable = true;
extraConfig.credential.helper = "store --file ~/.git-credentials";
userName = "John Lancaster";
userEmail = "32917998+jsl12@users.noreply.github.com";
};
}