mirror of
https://github.com/wlcx/home.git
synced 2025-10-11 22:43:44 +01:00
gpg: add it
This commit is contained in:
parent
55e75c2314
commit
b20949e133
20
home/gpg.nix
Normal file
20
home/gpg.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
mutableKeys = false;
|
||||
mutableTrust = false;
|
||||
publicKeys = [
|
||||
{
|
||||
source = ./wlcx_gpg_public.asc;
|
||||
trust = "ultimate";
|
||||
}
|
||||
{
|
||||
source = ./yubikey_pgp_public.asc;
|
||||
trust = "ultimate";
|
||||
}
|
||||
];
|
||||
# make yubikey work on macos? lolgpg
|
||||
# https://github.com/NixOS/nixpkgs/issues/155629
|
||||
scdaemonSettings = { disable-ccid = true; };
|
||||
};
|
||||
}
|
@ -11,6 +11,7 @@
|
||||
./vim.nix
|
||||
./vim-dev.nix
|
||||
./passwords.nix
|
||||
./gpg.nix
|
||||
];
|
||||
};
|
||||
server = { ... }: { imports = [ ./default.nix ./git.nix ./vim.nix ]; };
|
||||
|
Loading…
x
Reference in New Issue
Block a user