commit 111c673dcb0065f2da71c48c3e4639ac89b0292f
parent b0de195cdb46d7228420a9f7f58ab2b9af9ead4d
Author: Leah (ctucx) <git@ctu.cx>
Date: Fri, 5 Jan 2024 17:35:56 +0100
parent b0de195cdb46d7228420a9f7f58ab2b9af9ead4d
Author: Leah (ctucx) <git@ctu.cx>
Date: Fri, 5 Jan 2024 17:35:56 +0100
machines/trabbi: add grocy
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/machines/trabbi/configuration.nix b/machines/trabbi/configuration.nix @@ -29,6 +29,7 @@ # websites ./websites ./travelynx2fedi.nix + ./grocy.nix ]; dns.zones."ctu.cx".subdomains."${config.networking.hostName}" = (pkgs.dns.lib.combinators.host config.networking.primaryIP4 config.networking.primaryIP);
diff --git a/machines/trabbi/grocy.nix b/machines/trabbi/grocy.nix @@ -0,0 +1,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; + }; + }; + +}