mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 00:39:45 +01:00
ed9a6e34ad
It caused evaluation issues related to systemd. Fixes #934
22 lines
401 B
Nix
22 lines
401 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.gpg = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
no-comments = false;
|
|
s2k-cipher-algo = "AES128";
|
|
throw-keyids = true;
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.gnupg/gpg.conf
|
|
assertFileContent home-files/.gnupg/gpg.conf ${./override-defaults-expected.conf}
|
|
'';
|
|
};
|
|
}
|