add grocy

This commit is contained in:
Ingolf Wagner 2021-10-13 20:55:57 +02:00
parent 0de75e777b
commit ba624dec09
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
6 changed files with 54 additions and 0 deletions

View file

@ -14,11 +14,13 @@
./dms.nix ./dms.nix
./borg.nix ./borg.nix
./mpd.nix ./mpd.nix
./grocy.nix
]; ];
sops.defaultSopsFile = ../../secrets/pepe.yaml; sops.defaultSopsFile = ../../secrets/pepe.yaml;
networking.hostName = "pepe"; networking.hostName = "pepe";
# fonts # fonts

View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
{
services.grocy = {
enable = true;
settings = {
culture = "de";
currency = "EUR";
};
hostName = "grocy.pepe.private";
nginx.enableSSL = false;
};
backup.dirs = [ config.services.grocy.dataDir ];
}

View file

@ -15,4 +15,7 @@ with lib;
}; };
}; };
sops.secrets.tinc_retiolum_ed25519_key = { };
sops.secrets.tinc_retiolum_rsa_key = { };
} }

View file

@ -10,6 +10,7 @@
./codimd.nix ./codimd.nix
./bitwarden.nix ./bitwarden.nix
#./syncplay.nix #./syncplay.nix
./grocy.nix
]; ];

View file

@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
{
services.grocy = {
enable = true;
settings = {
culture = "de";
currency = "EUR";
};
hostName = "grocy.ingolf-wagner.de";
nginx.enableSSL = true;
};
backup.dirs = [ config.services.grocy.dataDir ];
}

View file

@ -63,6 +63,7 @@ in {
}; };
}; };
"git.ingolf-wagner.de" = { "git.ingolf-wagner.de" = {
listen = [ listen = [
{ {
@ -116,6 +117,21 @@ in {
} // error.locations; } // error.locations;
}; };
"grocy.ingolf-wagner.de" = {
listen = [
{
addr = "0.0.0.0";
port = 4443;
ssl = true;
}
{
addr = "0.0.0.0";
port = 80;
ssl = false;
}
];
};
"paste.ingolf-wagner.de" = { "paste.ingolf-wagner.de" = {
listen = [ listen = [
{ {