25 lines
773 B
Nix
25 lines
773 B
Nix
{config, pkgs, lib, inputs, vars, ...}:{
|
|
imports = [
|
|
#aux files to make finding specific things easier
|
|
./packages.nix #general user packages not managed by home-manager but i want to install via hm anyways
|
|
];
|
|
home = rec {
|
|
username = vars.user; #this is set in flake.nix
|
|
homeDirectory = "/home/${username}"; #change this if you use a non-standard home dir
|
|
stateVersion = "23.11";
|
|
shell.enableBashIntegration = true;
|
|
};
|
|
programs.home-manager.enable = true;
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "yourgitusername";
|
|
userEmail = "your@gitemail.com";
|
|
extraConfig = {
|
|
commit.gpgsign = true;
|
|
gpg.format = "ssh";
|
|
user.signingkey = "~/.ssh/id_ed25519.pub";
|
|
init.defaultBranch = "main";
|
|
};
|
|
};
|
|
}
|
|
|