single home module
This commit is contained in:
@@ -9,8 +9,13 @@ let
|
|||||||
homePath = "/srv/panoptes";
|
homePath = "/srv/panoptes";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [ ./git.nix ];
|
programs.git = {
|
||||||
programs.git.extraConfig.safe.directory = "${homePath}";
|
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;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
@@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user