diff options
| author | adikro <adikro@disroot.org> | 2026-03-10 21:35:47 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-03-10 21:35:47 +0100 |
| commit | 4c050140abc82ece8ce931ef6bad12859a19fdb7 (patch) | |
| tree | 30124449432ca4c4365b02f564edce16687af796 /hm/conf/git.nix | |
| parent | 984f5316832ee02369382d00a77a03b173278e68 (diff) | |
test
Diffstat (limited to 'hm/conf/git.nix')
| -rw-r--r-- | hm/conf/git.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hm/conf/git.nix b/hm/conf/git.nix index 0e4b805..a0925ba 100644 --- a/hm/conf/git.nix +++ b/hm/conf/git.nix @@ -1,13 +1,10 @@ { config, lib, - pkgs, - osConfig, ... }: let cfg = config.hm.conf.git; - isOCI = osConfig.networking.hostName == "oci"; in { options.hm.conf.git.enable = lib.mkEnableOption "enables git vcs"; @@ -17,14 +14,14 @@ in lfs.enable = true; signing = { signByDefault = true; - key = if isOCI then "~/.ssh/id_ed25519.pub" else "EF69F2FB25C8B5A66918EA91A38ACEAB9656CD94"; + key = "1DCCDC4E78380113E9BBBE413C7DEF329223B701"; }; settings = { user = { name = "adikro"; email = "adikro@disroot.org"; }; - gpg.format = if isOCI then "ssh" else "openpgp"; + gpg.format = "openpgp"; init.defaultBranch = "main"; push.autoSetupRemote = true; pull.rebase = true; |
