mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
feat: use gpg only for pass & ssh, make public keys & trust immutable
This commit is contained in:
@@ -10,13 +10,13 @@
|
|||||||
#
|
#
|
||||||
# If set `mutableTrust` to false, the path $GNUPGHOME/trustdb.gpg will be overwritten on each activation.
|
# If set `mutableTrust` to false, the path $GNUPGHOME/trustdb.gpg will be overwritten on each activation.
|
||||||
# Thus we can only update trsutedb.gpg via home-manager.
|
# Thus we can only update trsutedb.gpg via home-manager.
|
||||||
mutableTrust = true;
|
mutableTrust = false;
|
||||||
|
|
||||||
# $GNUPGHOME/pubring.kbx stores all the public keys you specified in `programs.gpg.publicKeys` option.
|
# $GNUPGHOME/pubring.kbx stores all the public keys you specified in `programs.gpg.publicKeys` option.
|
||||||
#
|
#
|
||||||
# If set `mutableKeys` to false, the path $GNUPGHOME/pubring.kbx will become an immutable link to the Nix store, denying modifications.
|
# If set `mutableKeys` to false, the path $GNUPGHOME/pubring.kbx will become an immutable link to the Nix store, denying modifications.
|
||||||
# Thus we can only update pubring.kbx via home-manager
|
# Thus we can only update pubring.kbx via home-manager
|
||||||
mutableKeys = true;
|
mutableKeys = false;
|
||||||
publicKeys = [
|
publicKeys = [
|
||||||
# https://www.gnupg.org/gph/en/manual/x334.html
|
# https://www.gnupg.org/gph/en/manual/x334.html
|
||||||
# {
|
# {
|
||||||
|
|||||||
Reference in New Issue
Block a user