ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
{ config, ... }:

{

  dns.zones."ctu.cx".subdomains.grocy.CNAME = [ "${config.networking.fqdn}." ];

  services.grocy = {
    enable = true;
    hostName = "grocy.ctu.cx";
    nginx.enableSSL = true;

    settings = {
      currency       = "EUR";
      culture        = "de";
      calendar.firstDayOfWeek = 1;
    };
  };

}