Compare commits
No commits in common. "a0e1acec0e90634596a9098ffb0a5a0fffd4e2e2" and "7c03785324fa2320ed973f6da2cb25c0bd3fe7e0" have entirely different histories.
a0e1acec0e
...
7c03785324
37
hosts/headless/abacus/firefox-syncserver.nix
Normal file
37
hosts/headless/abacus/firefox-syncserver.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# TODO: do this via tailscale?
|
||||||
|
# {
|
||||||
|
# config,
|
||||||
|
# lib,
|
||||||
|
# pkgs,
|
||||||
|
# ...
|
||||||
|
# }: let
|
||||||
|
# virtualHostName = "syncserver.helveticanonstandard.net";
|
||||||
|
# in {
|
||||||
|
# age.secrets = lib.mkSecrets {syncserver = {};};
|
||||||
|
#
|
||||||
|
# services.firefox-syncserver = {
|
||||||
|
# enable = true;
|
||||||
|
# secrets = config.age.secrets.syncserver.path;
|
||||||
|
# singleNode = {
|
||||||
|
# enable = true;
|
||||||
|
# hostname = virtualHostName;
|
||||||
|
# url = "https://${virtualHostName}";
|
||||||
|
# };
|
||||||
|
# settings = {
|
||||||
|
# port = 8070;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
#
|
||||||
|
# services.nginx.virtualHosts.${config.services.firefox-syncserver.singleNode.hostname} = {
|
||||||
|
# enableACME = true;
|
||||||
|
# forceSSL = true;
|
||||||
|
#
|
||||||
|
# locations."/".proxyPass = let
|
||||||
|
# host = "127.0.0.1";
|
||||||
|
# port = builtins.toString config.services.firefox-syncserver.settings.port;
|
||||||
|
# in "http://${host}:${port}";
|
||||||
|
# };
|
||||||
|
#
|
||||||
|
# services.mysql.package = pkgs.mariadb;
|
||||||
|
# }
|
||||||
|
{}
|
10
hosts/headless/abacus/mariadb.nix
Normal file
10
hosts/headless/abacus/mariadb.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# {pkgs, ...}: {
|
||||||
|
# services.mysql.package = pkgs.mariadb;
|
||||||
|
#
|
||||||
|
# services.mysqlBackup = {
|
||||||
|
# enable = true;
|
||||||
|
# startAt = "*-*-* 02:00:00";
|
||||||
|
# location = "/srv/backup/postgresql";
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
{}
|
Loading…
Reference in a new issue