feat: remove grocy (unused)
This commit is contained in:
@@ -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');
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
@@ -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;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user