aboutsummaryrefslogtreecommitdiff
path: root/systems/zoldene/certificates.nix
blob: d6ffd123abda7b1d1f6bdca15cf2b3854b9abcc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ ... }:
{
  disko.devices.zpool.zfast.datasets."root/persist/var/lib/acme" =
    { type = "zfs_fs"; mountpoint = "/persist/zfast/var/lib/acme"; options.mountpoint = "legacy"; };

  environment.persistence."/persist/zfast".directories = [
    {
      directory = "/var/lib/acme";
      user = "root";
      group = "root";
      mode = "0755";
    }
  ];

  users.users.nginx.extraGroups = [ "acme" ];
  services.nginx = {
    enable = true;
    recommendedOptimisation = true;
    recommendedGzipSettings = true;
    recommendedProxySettings = true;
  };

}