This repository has been archived on 2024-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
desktop_nixos_config_legacy/home/cli.nix

55 lines
920 B
Nix
Raw Permalink Normal View History

2024-08-23 21:32:44 +02:00
{
2024-08-24 09:55:59 +02:00
config,
lib,
pkgs,
...
}:
with lib; {
2024-08-23 21:32:44 +02:00
programs = {
## talvez esto debería moverse a base
zsh = {
enable = true;
syntaxHighlighting.enable = true;
initExtra = import ./zshrc.nix pkgs;
};
git = {
enable = true;
userEmail = "fabian@posixlycorrect.com";
userName = "Fabian Montero";
signing = {
key = "7AA277E604A4173916BBB4E91FFAC35E1798174F";
signByDefault = true;
};
};
gpg = {
enable = true;
settings = {
default-key = "7AA277E604A4173916BBB4E91FFAC35E1798174F";
};
};
};
services.gpg-agent = {
enable = true;
enableZshIntegration = true;
pinentryPackage = pkgs.pinentry-emacs;
};
2024-08-24 09:55:59 +02:00
home.packages = with pkgs; [
calc
file
gcc
htop
killall
man-pages
man-pages-posix
neovim
rar
tree
units
unzip
usbutils
zip
];
2024-08-23 21:32:44 +02:00
}