From 6c7fa8c1b524642153ef6f6c0452fe86ed56ef35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 5 Jan 2022 21:37:48 +0100 Subject: [PATCH] feat(zaatar): enable grocy --- flake.lock | 14 +++++++------- systems/zaatar/configuration.nix | 1 + systems/zaatar/grocy.nix | 10 ++++++++++ 3 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 systems/zaatar/grocy.nix diff --git a/flake.lock b/flake.lock index a44a456..c721e6f 100644 --- a/flake.lock +++ b/flake.lock @@ -158,11 +158,11 @@ "retiolum": { "flake": false, "locked": { - "lastModified": 1640969743, - "narHash": "sha256-Fj4J6EI2nSyvols9bGuettG/K9Bc7JMbjCGVG4dFNDI=", + "lastModified": 1641415159, + "narHash": "sha256-QlJGc9Hnp8sBgcljLeus/4nZppRxVARMJO4kAD6P/04=", "owner": "krebs", "repo": "retiolum", - "rev": "30b9842d65ccb2b89aaa4ae470a6615042a907f2", + "rev": "aa65c68493f042d7ad5012249b4aafc4ee59b8f2", "type": "github" }, "original": { @@ -210,11 +210,11 @@ "stockholm": { "flake": false, "locked": { - "lastModified": 1641167244, - "narHash": "sha256-uYob8g6RbRL9niEQNk9G1TldVCrzOu+kxEFEQ+IAFkM=", + "lastModified": 1641414848, + "narHash": "sha256-4tZyxhy6Sh5+FbQ2x++2MIhq96uKpNPKcEG1oWaHP98=", "ref": "master", - "rev": "2313e962e2ac6dc6f1f59800d793101f958e8b37", - "revCount": 10254, + "rev": "deda4c978956e39c3b6345e5ef5604b2bc020e00", + "revCount": 10262, "type": "git", "url": "https://cgit.lassul.us/stockholm" }, diff --git a/systems/zaatar/configuration.nix b/systems/zaatar/configuration.nix index 8be7e1c..c22c4b5 100644 --- a/systems/zaatar/configuration.nix +++ b/systems/zaatar/configuration.nix @@ -11,6 +11,7 @@ in ./moodle-dl-meinhark.nix ./pulseaudio.nix ./tuna.nix + ./grocy.nix diff --git a/systems/zaatar/grocy.nix b/systems/zaatar/grocy.nix new file mode 100644 index 0000000..e129fb9 --- /dev/null +++ b/systems/zaatar/grocy.nix @@ -0,0 +1,10 @@ +{ + services.grocy = { + enable = true; + hostName = "grocy.kmein.r"; + nginx.enableSSL = false; + settings.calendar.firstDayOfWeek = 1; + settings.culture = "de"; + settings.currency = "EUR"; + }; +}