mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
26 lines
489 B
Nix
26 lines
489 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
services = {
|
|
gpg-agent = {
|
|
enable = true;
|
|
enableSshSupport = true;
|
|
enableZshIntegration = true;
|
|
defaultCacheTtl = 30;
|
|
maxCacheTtl = 600;
|
|
pinentryFlavor = "tty";
|
|
};
|
|
emacs = {
|
|
enable = true;
|
|
package =
|
|
if config.programs.emacs.enable
|
|
then config.programs.emacs.finalPackage
|
|
else pkgs.emacs;
|
|
client.enable = true;
|
|
startWithUserSession = true;
|
|
};
|
|
};
|
|
}
|