feat: add nextcloud
This commit is contained in:
parent
ca5db8c1c2
commit
b4bd51410c
10 changed files with 373 additions and 37 deletions
20
system/dev/dn-server/step-ca.nix
Normal file
20
system/dev/dn-server/step-ca.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue