ctucx.git: nixfiles

ctucx' nixfiles

commit 52d0a5e523ef8596cb80b50eeb1d7a1dc9713eb2
parent 72e772d470221a966c7457af59ac36fa0ba4a02d
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 21 Nov 2024 09:28:59 +0100

configurations: add new gpg/ssh key
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/configurations/common/programs/gpg.nix b/configurations/common/programs/gpg.nix
@@ -66,6 +66,10 @@ in {
               trust = "ultimate";
               source = "${pkgs.ctucx-website}/gpg_pubkey.asc";
             }
+            {
+              trust = "ultimate";
+              source = "${pkgs.ctucx-website}/gpg_pubkey_leah.asc";
+            }
 
             # f2k1de's key
             {

@@ -94,11 +98,9 @@ in {
         '';
 
 
-        git = {
-          signing = {
-            key           = "725B65F21DB1C2C4";
-            signByDefault = true;
-          };
+        git.signing = {
+          key           = "4F1D8CCB";
+          signByDefault = true;
         };
     	};
 

@@ -115,6 +117,7 @@ in {
 
           sshKeys = [
             "8C11B9BF8B535049F6C87A9CF0C595421E6B8798"
+            "29FA1059F28D2ED1C6398F7CFA918605F53786C0"
           ];
         };
       };
diff --git a/configurations/linux/default.nix b/configurations/linux/default.nix
@@ -92,7 +92,9 @@
   users.users = {
 
     root.openssh.authorizedKeys.keys = [
-      #yubikey gpg
+      # gpg katja
+      "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDIHFm/bePR+HT5MAuMslUHt68nTrEhlqcKIS+9Rfi9FzRKAia/DdLbwpfC1iXuM+iQd8fIMp4Ir+kBMqoZaVzyCtqKH6QHbhwBiWIdMA7FndMbfDcO9BzUcqCAVt8HxcGd1Z4bE9ZgZZuIsJiPbqJ+QbK1rkY8uJLDVR2MXI5jpU/m+9RJzrwVZ6JxwjdY4cNaIYwoOW6ZxL+ukLRwy+spBWmWdcHeq6zeLsl/OjUV6WIh2pM9O0o9nsiDekhOBf2MJLlM+e8rWICwYsfLqGAeRAuDe03BFBXsbDg/lqTYB5G8XSaT2R8ty2RyeEByS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+jYDl6CR0Ubew== cardno:6445161"
     ];
 

@@ -101,7 +103,9 @@
       hashedPasswordFile            = config.age.secrets.katja-systempassword.path;
       extraGroups                   = [ "wheel" ]; # Enable ‘sudo’ for the user.
       openssh.authorizedKeys.keys   = [
-        #yubikey gpg
+        # gpg katja
+        "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDIHFm/bePR+HT5MAuMslUHt68nTrEhlqcKIS+9Rfi9FzRKAia/DdLbwpfC1iXuM+iQd8fIMp4Ir+kBMqoZaVzyCtqKH6QHbhwBiWIdMA7FndMbfDcO9BzUcqCAVt8HxcGd1Z4bE9ZgZZuIsJiPbqJ+QbK1rkY8uJLDVR2MXI5jpU/m+9RJzrwVZ6JxwjdY4cNaIYwoOW6ZxL+ukLRwy+spBWmWdcHeq6zeLsl/OjUV6WIh2pM9O0o9nsiDekhOBf2MJLlM+e8rWICwYsfLqGAeRAuDe03BFBXsbDg/lqTYB5G8XSaT2R8ty2RyeEBySS32pUyErdKVXnyHNBEvxC6+cJiZtL8rhkpU1qRg/MIUjprMVUWisMlYnai2K0VpNpc5w09YXQl7aXSge8L/5+IzugPj17+FK4FVwRptXxynnYeKiwWEsOiiFe3IVaQ6vyRN66fbMjx/d0JSfadbwV7L++aT85bsb05zhNDpaqK1I5sGs3uV3CglkmhxBmky67Eq/qkMlJZMVtgE7i88H8+XzTiofJaKYTeyq+XQnK6a6OVGyca2dEorBFmBTEtz70nQnSrhPqQrS4zgr4OTSFtUtdFVDzgHaxRC+y4/SP5zCA8Xfwp0q1M0jVE9XpVpGydXtGGV08uXOsDPv5E4euxq6qgv8d2azDeBHXp+kEHm4w== (none)"
+        #gpg leah
         "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDb2eZ2ymt+Zsf0eTlmjW2jPdS013lbde1+EGkgu6bz9lVTR8aawshF2HcoaWp5a5dJr3SKyihDM8hbWSYB3qyTHihNGyCArqSvAtZRw301ailRVHGqiwUITTfcg1533TtmWvlJZgOIFM1VvSAfdueDRRRzbygmn749fS9nhUTDzLtjqX5LvhpqhzsD+eOqPrV6Ne8E1e42JxQb5AJPY1gj9mk6eAarvtEHQYEe+/hp9ERjtCdN5DfuOJnqfaKS0ytPj/NbQskbX/TMgeUVio11iC2NbXsnAtzMmtbLX4mxlDQrR6aZmU/rHQ4aeJqI/Tj2rrF46icri7s0tnnit1OjT5PSxXgifcOtn06qoxYZMT1x+Dyrt40vNkGmxmxCnirm8B+6MKXgd/Ys+7tnOm1ht8TmLm96x6KdOiF3Zq/tMxhPAzp8JriTKSo7k7U9XxStFghTbhhBNc7OX89ZbpalLEnvbQiz87gZxhcx8cLvzIjslOHmZOSWC5Pgr4wwuj3Akq63i4ya6/BzM6v4UoBuDAB6fz3NHKL4R5X20la7Pvt7OBysQkGClWfj6ipMR1bFE2mfYtlMioXNgTjC+NCpEl1+81MH7dv2565Hk8CLV8FMxv6GujbAZGjjcM47lpWM1cBQvpBMUA/lLkyiCPK0YxNWAB7Co+jYDl6CR0Ubew== cardno:6445161"
       ];
     };