feat: remove grocy (unused)

This commit is contained in:
Xavier Morel
2025-11-19 22:06:26 +01:00
parent e7aa43acaf
commit 08d95abb5a
2 changed files with 0 additions and 49 deletions

View File

@@ -1,26 +0,0 @@
{
config,
tools,
pkgs,
...
}:
let
lib = pkgs.lib;
in
{
services.grocy = {
enable = true;
hostName = tools.build_hostname "grocy";
settings = {
calendar.firstDayOfWeek = 1;
culture = config.globals.country_code;
currency = config.globals.currency;
};
nginx.enableSSL = false;
};
environment.etc."grocy/config.php".text = lib.mkAfter ''
// Arbitrary PHP code in grocy's configuration file
Setting('AUTH_CLASS', 'Grocy\Middleware\ReverseProxyAuthMiddleware');
Setting('REVERSE_PROXY_AUTH_HEADER', 'REMOTE_USER');
'';
}

View File

@@ -1,23 +0,0 @@
{ ... }:
{
my-lxc.grocy = {
container = {
cores = 1;
memory = 512;
disk = "4G";
swap = 512;
};
system = {
port = 80;
importConfig = [
../config/grocy-grocy.nix
];
};
logging = {
enable = true;
metricsEnable = true;
};
private = false;
auth = true;
};
}