mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: centralized enable flags
This commit is contained in:
parent
202623cecb
commit
04e38c40c3
12 changed files with 38 additions and 29 deletions
|
|
@ -1,12 +1,9 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.gpg.enable = true;
|
||||
|
||||
services.gpg-agent = {
|
||||
enable = lib.mkIf pkgs.stdenv.isLinux true;
|
||||
enableFishIntegration = true;
|
||||
defaultCacheTtl = 1209600;
|
||||
pinentryPackage = pkgs.pinentry-tty;
|
||||
services = {
|
||||
gpg-agent.enableFishIntegration = true;
|
||||
gpg-agent.defaultCacheTtl = 1209600;
|
||||
gpg-agent.pinentryPackage = pkgs.pinentry-tty;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue