Add the ssh keys
This commit is contained in:
parent
aac8215e02
commit
3b67806659
|
@ -10,6 +10,10 @@
|
||||||
users.groups.gitea = {};
|
users.groups.gitea = {};
|
||||||
users.users = {
|
users.users = {
|
||||||
gitea = {
|
gitea = {
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCnYgErCnva8fvLvsmTMC6dHJp2Fvwja0BYL8K/58ugDxNA0PVGj5PpEMar5yhi4AFGGYL4EgD75tRgI/WQU87ZiKjJ6HFIhgX9curncB2kIJ0JoA+FIQMNOT72GFuhjcO4svanrobsMrRmcn193suXY/N6m6F+3pitxBfHPWuPKKjlZqVBzpqCdz9pXoGOk48OSYv7Zyw8roVsUw3fqJqs68LRLM/winWVhVSPabXGyX7PAAW51Nbv6M64REs+V1a+wGvK5sGhRy7lIBAIuD22tuL4/PZojST1hasKN+7cSp7F1QTi4u0yeQ2+gIclQNuhfvghzl6zcVEpOycFouSIJaJjo8jyuHkbm4I2XfALVTFHe7sLpYNNS7Mf6E6i5rHvAvtXI4UBx/LjgPOj7RWZFaotxQRk1D+N0y2xNrO4ft6mS+hrJ/+ybp1XTGdtlkpUDKjiTZkV7Z4fq9J0jtijvtxRfcPhjia50IIHtZ28wVBMCCwYzh5pR15F/XbvKCc= lillian@EDI"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC7+LEQnC/nlYp7nQ4p6hUCqaGiqfsA3Mg8bSy+zA8Fj lillian@GLaDOS"
|
||||||
|
];
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
isNormalUser = false;
|
isNormalUser = false;
|
||||||
group = "gitea";
|
group = "gitea";
|
||||||
|
@ -19,9 +23,6 @@
|
||||||
sops.secrets."mailpassunhash".mode = "0440";
|
sops.secrets."mailpassunhash".mode = "0440";
|
||||||
sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name;
|
sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name;
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [2228];
|
|
||||||
|
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "gitea";
|
user = "gitea";
|
||||||
|
|
Loading…
Reference in a new issue