mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 00:20:13 +00:00
move git stuff to modules
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
|
||||
let
|
||||
|
||||
name = "Noah Masur";
|
||||
editor = "nvim";
|
||||
font = "Victor Mono";
|
||||
dotfiles = builtins.toString ../.;
|
||||
@ -24,6 +23,7 @@ let
|
||||
in {
|
||||
options = with lib; {
|
||||
user = mkOption { default = "noah"; };
|
||||
fullName = mkOption { default = "Noah Masur"; };
|
||||
font = mkOption { default = font; };
|
||||
nixos_config = mkOption { default = nixos_config; };
|
||||
dotfiles = mkOption { default = dotfiles; };
|
||||
@ -43,24 +43,6 @@ in {
|
||||
zathura # PDF viewer
|
||||
qbittorrent
|
||||
|
||||
# Utilities
|
||||
unzip
|
||||
rsync
|
||||
fzf
|
||||
ripgrep
|
||||
bat
|
||||
fd
|
||||
exa
|
||||
sd
|
||||
zoxide
|
||||
jq
|
||||
tealdeer
|
||||
gh
|
||||
direnv
|
||||
tree
|
||||
htop
|
||||
glow
|
||||
|
||||
# Encryption
|
||||
gnupg
|
||||
pass
|
||||
@ -95,22 +77,6 @@ in {
|
||||
config = { whitelist = { prefix = [ "${dotfiles}/" ]; }; };
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "${name}";
|
||||
userEmail = "7386960+nmasur@users.noreply.github.com";
|
||||
extraConfig = {
|
||||
pager = { branch = "false"; };
|
||||
safe = { directory = "${dotfiles}"; };
|
||||
};
|
||||
};
|
||||
|
||||
programs.gh = {
|
||||
enable = true;
|
||||
enableGitCredentialHelper = true;
|
||||
settings.git_protocol = "https";
|
||||
};
|
||||
|
||||
# Email
|
||||
# programs.himalaya = {
|
||||
# enable = true;
|
||||
|
Reference in New Issue
Block a user