Gpg : Auto-import public keys.
This commit is contained in:
parent
8281c629a8
commit
ee475139e3
|
@ -22,7 +22,10 @@
|
|||
allowed = ./secret/public/Signers.key;
|
||||
};
|
||||
publicKeys = [
|
||||
./secret/public/Gpg.key
|
||||
{
|
||||
source = ./secret/public/Gpg.key;
|
||||
trust = 5;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ const, util, style, pkgs, setting, key, ... } @args: {
|
||||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||
imports = [
|
||||
(import ./Default.nix (args // {
|
||||
username = "dasha";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ const, username, homeDir, util, style, pkgs, setting, key, ... } @args: let
|
||||
{ const, username, homeDir, util, style, pkgs, setting, key, secret, ... } @args: let
|
||||
foot = import ./module/foot/Init.nix args;
|
||||
mako = import ./module/mako/Init.nix args;
|
||||
editorconfig = import ./module/editorconfig/Init.nix args;
|
||||
|
@ -39,6 +39,12 @@ in {
|
|||
XDG_TMP_DIR = "${homeDir}/tmp/";
|
||||
};
|
||||
};
|
||||
|
||||
# GPG.
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
publicKeys = secret.crypto.publicKeys;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ const, util, style, pkgs, setting, key, ... } @args: {
|
||||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||
imports = [
|
||||
(import ./Default.nix (args // {
|
||||
username = "root";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ const, util, style, pkgs, setting, key, ... } @args: {
|
||||
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
|
||||
imports = [
|
||||
(import ./Default.nix (args // {
|
||||
username = "voronind";
|
||||
|
|
Loading…
Reference in a new issue