diff --git a/configuration.nix b/configuration.nix index 70c1263..6417d8c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -30,6 +30,25 @@ in nixpkgs.overlays = [ (nix-overlay) ]; + services.redis.servers.sp-api = { + enable = true; + save = [ + [ + 30 + 1 + ] + [ + 10 + 10 + ] + ]; + port = 0; + settings = { + notify-keyspace-events = "KEA"; + }; + }; + + boot.cleanTmpDir = true; networking = { hostName = config.services.userdata.hostname; diff --git a/git/gitea.nix b/git/gitea.nix index 961e9b2..8d8fa29 100644 --- a/git/gitea.nix +++ b/git/gitea.nix @@ -26,10 +26,10 @@ in path = "/var/lib/gitea/data/gitea.db"; createDatabase = true; }; - ssh = { - enable = true; - clonePort = 22; - }; + # ssh = { + # enable = true; + # clonePort = 22; + # }; lfs = { enable = true; contentDir = "/var/lib/gitea/lfs";