mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nix] Start managing the git config
This commit is contained in:
parent
269924cae9
commit
f4619def12
2 changed files with 31 additions and 1 deletions
|
@ -14,7 +14,10 @@
|
||||||
outputs = { self, nixpkgs, home-manager, darwin }: {
|
outputs = { self, nixpkgs, home-manager, darwin }: {
|
||||||
darwinConfigurations."alymac" = darwin.lib.darwinSystem {
|
darwinConfigurations."alymac" = darwin.lib.darwinSystem {
|
||||||
system = "x86_64-darwin";
|
system = "x86_64-darwin";
|
||||||
modules = [ ./hosts/alymac/default.nix ];
|
modules = [
|
||||||
|
home-manager.darwinModules.home-manager
|
||||||
|
./hosts/alymac/default.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,33 @@
|
||||||
# enable the gpg agent by default
|
# enable the gpg agent by default
|
||||||
programs.gnupg.agent.enable = true;
|
programs.gnupg.agent.enable = true;
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
users.alyxia = { pkgs, ... }: {
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.gitAndTools.gitFull; # contains git send-email et al
|
||||||
|
|
||||||
|
userName = "Alyxia Sother";
|
||||||
|
userEmail = "alyxia@riseup.net";
|
||||||
|
|
||||||
|
signing = {
|
||||||
|
key = "01E16C4E775A37E4";
|
||||||
|
signByDefault = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
delta.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.gitui.enable = true;
|
||||||
|
|
||||||
|
# DO NOT CHANGE UNLESS YOU ARE ABSOLUTELY SURE ALL STATE AFFECTED BY THIS
|
||||||
|
# OPTION IS APPROPRIATELY MIGRATED!!!
|
||||||
|
home.stateVersion = "23.05"; # did you read the comment?
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
homebrew = {
|
homebrew = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onActivation = {
|
onActivation = {
|
||||||
|
|
Loading…
Reference in a new issue