generated from john/nix-docker
single home module
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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