mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
26 lines
426 B
Nix
26 lines
426 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; {
|
|
config = let
|
|
cfg = config.elss.server.grocy;
|
|
in
|
|
mkIf cfg.enable {
|
|
services.grocy = {
|
|
enable = true;
|
|
hostname = "grocy.ellmauthaler.net";
|
|
settings = {
|
|
currency = "EUR";
|
|
culture = "de";
|
|
calendar = {
|
|
showWeekNumber = true;
|
|
firstDayOfWeek = 1;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|