nixos-config/home-manager/default.nix

39 lines
785 B
Nix
Raw Normal View History

2022-10-26 15:54:00 -04:00
{ config, pkgs, username, fullname, ... }:
2022-01-06 21:14:02 -05:00
{
home.username = username;
home.homeDirectory = "/home/" + username;
2022-09-24 23:30:38 -04:00
home.stateVersion = "21.11";
2022-05-29 19:15:50 -04:00
imports = [ ./shell ./wayland ];
2022-01-06 21:14:02 -05:00
xdg.enable = true;
xdg.userDirs.enable = true;
programs.git = {
enable = true;
2022-10-26 15:54:00 -04:00
userName = fullname;
2022-01-06 21:14:02 -05:00
userEmail = "kiana.a.sheibani@gmail.com";
2022-01-11 20:52:14 -05:00
2022-03-12 20:46:41 -05:00
extraConfig = {
credential.helper = "store";
git.allowForcePush = true;
init.defaultBranch = "main";
2022-04-29 17:38:23 -04:00
user.signingkey = "6CB106C25E86A9F7";
commit.gpgsign = true;
2022-03-12 20:46:41 -05:00
};
2022-01-06 21:14:02 -05:00
};
2022-04-30 13:32:55 -04:00
programs.gpg.enable = true;
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryFlavor = "curses";
2022-06-13 14:31:49 -04:00
extraConfig = ''
allow-emacs-pinentry
allow-loopback-pinentry
'';
2022-04-30 13:32:55 -04:00
};
2022-01-06 21:14:02 -05:00
}