[shared] Move git signing key to systemConfig

This commit is contained in:
2025-10-14 20:15:41 +02:00
parent 9434f32e06
commit 0109aeec8a
5 changed files with 10 additions and 10 deletions

View File

@@ -9,6 +9,4 @@
./hyprpaper.nix ./hyprpaper.nix
./settings.nix ./settings.nix
]; ];
programs.git.signing.key = "706F53DD087A91DE";
} }

View File

@@ -4,6 +4,4 @@
imports = with lib.custom; [ imports = with lib.custom; [
(relativeToBase "home-manager") (relativeToBase "home-manager")
]; ];
programs.git.signing.key = "4E323F914029E976";
} }

View File

@@ -4,6 +4,4 @@
imports = with lib.custom; [ imports = with lib.custom; [
(relativeToBase "home-manager") (relativeToBase "home-manager")
]; ];
programs.git.signing.key = "E3FA0E995C0D0E5E";
} }

View File

@@ -9,6 +9,4 @@
./hyprland ./hyprland
./zen ./zen
]; ];
programs.git.signing.key = "848D71DE0590C199";
} }

View File

@@ -1,4 +1,9 @@
{ pkgs, common, ... }: {
pkgs,
common,
systemConfig,
...
}:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
@@ -23,7 +28,10 @@
p = "push"; p = "push";
}; };
signing.signByDefault = true; signing = {
signByDefault = true;
key = systemConfig.git.signing.key;
};
extraConfig = { extraConfig = {
init.defaultBranch = "main"; init.defaultBranch = "main";