Home : Fix container issues.

This commit is contained in:
Dmitry Voronin 2024-06-26 08:57:54 +03:00
parent 91a431b675
commit c927c3def8
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 7 additions and 6 deletions

View file

@ -40,7 +40,7 @@ in {
}; };
}; };
config = { ... }: container.mkContainerConfig cfg { config = { pkgs, ... }: container.mkContainerConfig cfg {
services.onlyoffice = let services.onlyoffice = let
dbName = "onlyoffice"; dbName = "onlyoffice";
in { in {

View file

@ -2,7 +2,7 @@
# ipp://192.168.2.237 # ipp://192.168.2.237
# Pantum M6500W-Series # Pantum M6500W-Series
{ container, pkgs, lib, config, ... }: with lib; let { container, pkgs, lib, config, ... } @args: with lib; let
cfg = config.container.module.print; cfg = config.container.module.print;
package = pkgs.callPackage ./print args; package = pkgs.callPackage ./print args;
in { in {

View file

@ -32,10 +32,11 @@
yt.enable = true; yt.enable = true;
}; };
storage = "/storage/hot/container"; storage = "/storage/hot/container";
domain = "voronind.com"; domain = "voronind.com";
host = "192.168.1.2"; host = "192.168.1.2";
interface = "enp7s0"; interface = "enp7s0";
localAccess = "192.168.1.0/24";
media = { media = {
anime = [ "/storage/cold_1/media/anime" "/storage/cold_2/media/anime" ]; anime = [ "/storage/cold_1/media/anime" "/storage/cold_2/media/anime" ];
book = [ "/storage/hot/media/book" ]; book = [ "/storage/hot/media/book" ];