git signing
This commit is contained in:
parent
fc85e43c82
commit
a018670eae
5 changed files with 69 additions and 8 deletions
13
host/roam/git.nix
Normal file
13
host/roam/git.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, var, ... }:
|
||||
{
|
||||
programs.git.enable = true;
|
||||
users.groups.git = { };
|
||||
users.users.git = {
|
||||
isSystemUser = true;
|
||||
home = "/git";
|
||||
createHome = true;
|
||||
group = "git";
|
||||
shell = "${pkgs.git}/bin/git-shell";
|
||||
openssh.authorizedKeys.keys = var.ssh-keys.unprivileged;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue