{ config, lib, pkgs, ... }: let # external-ip = config.krebs.build.host.nets.internet.ip4.addr; # internal-ip = config.krebs.build.host.nets.retiolum.ip4.addr; # default-gw = "185.215.224.1"; # prefixLength = 24; # external-mac = "46:5b:fc:f4:44:c9"; # ext-if = "et0"; in { imports = [ ./1blu # common # Security # Tools # NixOS Build # Storage # Services: ## Web ### Moving owncloud data dir to /media/cloud/nextcloud-data { users.users.nextcloud.extraGroups = [ "download" ]; # nextcloud-setup fails as it cannot set permissions for nextcloud systemd.services.nextcloud-setup.serviceConfig.SuccessExitStatus = "0 1"; fileSystems."/var/lib/nextcloud/data" = { device = "/media/cloud/nextcloud-data"; options = [ "bind" ]; }; } # local usage: # Supervision # Krebs # backup ]; krebs = { enable = true; build.host = config.krebs.hosts.latte; }; makefu.dl-dir = "/media/cloud/download"; networking.firewall.allowedTCPPorts = [ 80 443 ]; }