mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Manage github ssh-keys with sops
This commit is contained in:
parent
c1cba95e02
commit
ae4a2e5b72
10 changed files with 92 additions and 11 deletions
|
|
@ -9,7 +9,12 @@
|
|||
userEmail = "sebastian.stork@pm.me";
|
||||
extraConfig.init.defaultBranch = "main";
|
||||
};
|
||||
|
||||
programs.lazygit.enable = true;
|
||||
|
||||
sops.secrets.github-ssh-key.path = "${config.home.homeDirectory}/.ssh/github";
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks."github.com".identityFile = "~/.ssh/github";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue