{ lib, config, pkgs, ... }: let inherit (import ../../lib) kieran retiolumAddresses restic; in { imports = [ ./gitea.nix ./hardware-configuration.nix ./hedgedoc.nix ./menstruation.nix ./moinbot.nix ./monitoring ./names.nix ./nextcloud.nix ./radio-news.nix # ./onlyoffice.nix ./retiolum-map.nix ./tarot.nix ./tt-rss.nix ./weechat.nix ../../configs/monitoring.nix ../../configs/nix.nix ../../configs/tor.nix ../../configs/save-space.nix ../../configs/retiolum.nix ../../configs/spacetime.nix ../../configs/sshd.nix ../../configs/telegram-bots ../../configs/admin-essentials.nix ]; services.restic.backups.niveum = { initialize = true; inherit (restic) repository; timerConfig = { OnCalendar = "daily"; RandomizedDelaySec = "1h"; }; passwordFile = config.age.secrets.restic.path; paths = [ config.services.postgresqlBackup.location config.services.nextcloud.home config.services.grafana.dataDir config.services.gitea.stateDir config.services.weechat.root config.services.nginx.virtualHosts."www.kmein.de".root "/var/lib/weechat" "/var/lib/codimd" ]; }; niveum.passport = { enable = true; introductionHTML = ''

The machine makanek is named after a Levantine type of sausage (مقانق maqāniq).

It runs on Hetzner cloud.

Makanek sausages
Makanek
''; virtualHost = "makanek.r"; services = [ { title = "restic backup"; description = "This machine backups its state via restic backup."; } ]; }; networking = { firewall.allowedTCPPorts = [80 443]; hostName = "makanek"; interfaces.ens3.useDHCP = true; retiolum = retiolumAddresses.makanek; useDHCP = false; }; age.secrets = { retiolum-rsa = { file = ../../secrets/makanek-retiolum-privateKey-rsa.age; mode = "400"; owner = "tinc.retiolum"; group = "tinc.retiolum"; }; retiolum-ed25519 = { file = ../../secrets/makanek-retiolum-privateKey-ed25519.age; mode = "400"; owner = "tinc.retiolum"; group = "tinc.retiolum"; }; restic.file = ../../secrets/restic.age; }; system.stateVersion = "20.03"; services.nginx = { enable = true; recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; sslCiphers = "AES256+EECDH:AES256+EDH:!aNULL"; }; security.acme = { acceptTerms = true; defaults.email = kieran.email; }; services.nginx.virtualHosts."www.kmein.de" = { addSSL = true; enableACME = true; root = "/var/www/kmein.de"; }; environment.systemPackages = [ pkgs.vim pkgs.git pkgs.tmux pkgs.python3 pkgs.nix-output-monitor ]; }