first commit
This commit is contained in:
commit
37b1818720
12 changed files with 1054 additions and 0 deletions
25
home/default.nix
Normal file
25
home/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue