From 187a390cd253ffd646e44bf929ad0f664d39d421 Mon Sep 17 00:00:00 2001 From: Lilith Date: Sat, 26 Apr 2025 01:42:02 +0200 Subject: [PATCH] gpg --- flake.lock | 8 ++++---- home/lilith/gpg.nix | 7 +++++-- home/lilith/hyprland/default.nix | 2 -- home/lilith/thunderbird.nix | 14 ++++++-------- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/flake.lock b/flake.lock index 362004e5..3a288296 100644 --- a/flake.lock +++ b/flake.lock @@ -236,11 +236,11 @@ }, "flake-private": { "locked": { - "lastModified": 1744570005, - "narHash": "sha256-SnV4raQWMiysxsZBOq4wrR9kWxF8Fk/Arn9bERr1XOg=", + "lastModified": 1745623083, + "narHash": "sha256-4dITN4vFrcWv4rwRMDTs/t+8K9coTIU8fA3sGVGb/pA=", "ref": "main", - "rev": "ce669973291ca0e09677fb2491922ea15562e9ef", - "revCount": 2, + "rev": "8b6bde50ea541f1154893dbe9ab34f748e4fc706", + "revCount": 3, "type": "git", "url": "ssh://git@git.firelilith.org/lilith/flake-private.git" }, diff --git a/home/lilith/gpg.nix b/home/lilith/gpg.nix index dff4961a..c7af4648 100644 --- a/home/lilith/gpg.nix +++ b/home/lilith/gpg.nix @@ -1,7 +1,10 @@ -{pkgs, ...}: { +{ pkgs, ... }: +{ programs.gpg = { enable = true; - settings.trust-model = "tofu+pgp"; + settings = { + trust-model = "tofu+pgp"; + }; }; services.gpg-agent = { diff --git a/home/lilith/hyprland/default.nix b/home/lilith/hyprland/default.nix index fd9c3a6e..d392f003 100644 --- a/home/lilith/hyprland/default.nix +++ b/home/lilith/hyprland/default.nix @@ -70,8 +70,6 @@ allow_tearing = false; }; - ecosystem.no_update_news = true; - decoration = { rounding = 10; diff --git a/home/lilith/thunderbird.nix b/home/lilith/thunderbird.nix index f3360d11..0888f963 100644 --- a/home/lilith/thunderbird.nix +++ b/home/lilith/thunderbird.nix @@ -8,20 +8,18 @@ programs.thunderbird = { enable = true; settings = { - + "general.useragent.override" = ""; + "privacy.donottrackheader.enabled" = true; + "mail.openpgp.allow_external_gnupg" = true; + "mail.openpgp.fetch_pubkeys_from_gnupg" = true; }; + profiles."lilith" = { isDefault = true; + withExternalGnupg = true; }; }; - sops.secrets = { - "email/personal/password" = { }; - "email/uni/password" = { }; - "email/work/password" = { }; - "email/fau/password" = { }; - }; - # As this contains personal information, this part of the config has been # put in a separate, private repository. Do _not_ use this for actual secrets! accounts.email.accounts = flake-private.home.accounts.email.accounts { inherit config; };