generated from john/nix-docker
reorg
This commit is contained in:
9
homeManagerModules/git.nix
Normal file
9
homeManagerModules/git.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
extraConfig.credential.helper = "store --file ~/.git-credentials";
|
||||
userName = "John Lancaster";
|
||||
userEmail = "32917998+jsl12@users.noreply.github.com";
|
||||
};
|
||||
}
|
||||
24
homeManagerModules/home.nix
Normal file
24
homeManagerModules/home.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
homePath = "/srv/panoptes";
|
||||
in
|
||||
{
|
||||
imports = [ ./git.nix ];
|
||||
|
||||
programs.git.extraConfig.safe.directory = "${homePath}";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
home = {
|
||||
stateVersion = "24.05";
|
||||
username = "${user}";
|
||||
homeDirectory = "${homePath}";
|
||||
};
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
}
|
||||
Reference in New Issue
Block a user