mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 21:49:48 +01:00
21 lines
372 B
Nix
21 lines
372 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.gpg = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
no-comments = false;
|
|
s2k-cipher-algo = "AES128";
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.gnupg/gpg.conf
|
|
assertFileContent home-files/.gnupg/gpg.conf ${./override-defaults-expected.conf}
|
|
'';
|
|
};
|
|
}
|