ctucx.git: nixfiles

ctucx' nixfiles

commit 7e6b5edfa0326c8311515565702c71d3277fbf2e
parent 13247cd9d2e82a7fcf46d1813aad0617ec4956d0
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 21 Dec 2023 15:30:56 +0100

configurations/common/programs/gpg: get pubkeys for own keys directly from `ctucx-website` package
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/configurations/common/programs/gpg.nix b/configurations/common/programs/gpg.nix
@@ -53,19 +53,13 @@ in {
             # my own key
             {
               trust = "ultimate";
-              source = (pkgs.fetchurl {
-                url    = "https://ctu.cx/gpg_pubkey.asc";
-                sha256 = "sha256-xsLpZkcTDPpXrX9gRki5z13KxwBDznJr/mn9MZIo5CQ";
-              });
+              source = "${pkgs.ctucx-website}/gpg_pubkey.asc";
             }
 
             # my second gpg key (ipad)
             {
               trust = "ultimate";
-              source = (pkgs.fetchurl {
-                url    = "https://ctu.cx/gpg_pubkey_ipad.asc";
-                sha256 = "sha256-TXiVGKg4iKLTY1gHNaJEz5hXp2FGGHRASgaK6RjL5SA";
-              });
+              source = "${pkgs.ctucx-website}/gpg_pubkey_ipad.asc";
             }
 
             # f2k1de's key