feat: add nextcloud

This commit is contained in:
DACHXY 2025-04-21 14:52:42 +08:00
parent ca5db8c1c2
commit b4bd51410c
10 changed files with 373 additions and 37 deletions

View file

@ -0,0 +1,20 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ step-cli ];
users.users.step-ca = {
isSystemUser = true;
group = "step-ca";
};
users.groups.step-ca = { };
services.step-ca = {
enable = true;
address = "0.0.0.0";
settings = builtins.fromJSON (builtins.readFile /var/lib/step-ca/config/ca.json);
port = 8443;
openFirewall = true;
intermediatePasswordFile = "/run/keys/step-password";
};
}