reverted podman fuck it

This commit is contained in:
Danilo Reyes 2023-12-24 18:44:04 -06:00
parent a7cc07f78f
commit e8b070b824
2 changed files with 5 additions and 8 deletions

View File

@ -1,13 +1,11 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ podman-compose ]; environment.systemPackages = with pkgs; [ docker-compose ];
virtualisation = { virtualisation = {
podman = { docker = {
enable = true; enable = true;
enableNvidia = true; enableNvidia = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
autoPrune = { autoPrune = {
enable = true; enable = true;
flags = [ "--all" ]; flags = [ "--all" ];
@ -15,6 +13,7 @@
}; };
}; };
oci-containers = { oci-containers = {
backend = "docker";
containers = { containers = {
collabora = { collabora = {
autoStart = true; autoStart = true;
@ -29,15 +28,11 @@
environment = { environment = {
TZ = "America/Mexico_City"; TZ = "America/Mexico_City";
domain = "cloud.servidos.lat"; domain = "cloud.servidos.lat";
username = "jawz";
password = "chichis";
dictionaries = "en_CA en_US es_MX es_ES fr_FR it pt_BR ru"; dictionaries = "en_CA en_US es_MX es_ES fr_FR it pt_BR ru";
extra_params = '' extra_params = ''
--o:ssl.enable=false --o:ssl.enable=false
--o:ssl.termination=true --o:ssl.termination=true
''; '';
# --o:net.post_allow.host=\:\:ffff\:172\.16\.[0-9]{1,3}\.[0-9]{1,3}
# --o:storage.wopi.host=\:\:ffff\:172\.16\.[0-9]{1,3}\.[0-9]{1,3}
}; };
extraOptions = [ "--cap-add" "MKNOD" ]; extraOptions = [ "--cap-add" "MKNOD" ];
}; };

View File

@ -95,6 +95,7 @@ in {
audiobookshelf = { audiobookshelf = {
enable = true; enable = true;
group = "piracy"; group = "piracy";
port = 5687;
}; };
paperless = { paperless = {
enable = true; enable = true;
@ -181,6 +182,7 @@ in {
short_open_tag = "Off"; short_open_tag = "Off";
}; };
extraOptions = { extraOptions = {
"allow_local_remote_servers" = true;
mail_smtpmode = "sendmail"; mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe"; mail_sendmailmode = "pipe";
"installed" = true; "installed" = true;