Compare commits
2 commits
57c12d516b
...
03a246bf8f
Author | SHA1 | Date | |
---|---|---|---|
03a246bf8f | |||
1016205470 |
2 changed files with 2 additions and 2 deletions
nix
|
@ -12,7 +12,6 @@
|
|||
|
||||
news.display = "silent";
|
||||
fonts.fontconfig.enable = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# nix
|
||||
|
|
|
@ -4,6 +4,7 @@ let
|
|||
|
||||
keysDir = ../../../files/keys;
|
||||
keys = lib.attrsets.mapAttrsToList (name: type: "${keysDir}/${name}") (builtins.readDir keysDir);
|
||||
gpgKeys = builtins.filter (path: lib.strings.hasSuffix "asc" path) keys;
|
||||
|
||||
in
|
||||
{
|
||||
|
@ -12,7 +13,7 @@ in
|
|||
# install keys into gpg keyring
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
publicKeys = map (file: { source = file; trust = 5; }) keys;
|
||||
publicKeys = map (path: { source = path; trust = 5; }) gpgKeys;
|
||||
};
|
||||
|
||||
# global gpg agent
|
||||
|
|
Loading…
Reference in a new issue