chore: make iceshrimp redis the primary

This commit is contained in:
Ashhhleyyy 2024-06-28 15:36:51 +01:00
parent a6d9603b83
commit 7a5f37b50a
Signed by: ash
GPG key ID: 83B789081A0878FB
3 changed files with 12 additions and 1 deletions

View file

@ -119,6 +119,7 @@
overlays-module overlays-module
./hosts/amy/configuration.nix ./hosts/amy/configuration.nix
./roles/coredns ./roles/coredns
./roles/iceshrimp.nix
./roles/podman.nix ./roles/podman.nix
./roles/postgres.nix ./roles/postgres.nix
home-manager-stable.nixosModules.home-manager home-manager-stable.nixosModules.home-manager

10
roles/iceshrimp.nix Normal file
View file

@ -0,0 +1,10 @@
{ config, pkgs, ... }: {
services.redis.servers.iceshrimp = {
enable = true;
port = 6380;
bind = "100.93.214.57";
settings.protected-mode = "no";
};
# TODO: move rest of iceshrimp to amy
}

View file

@ -1,4 +1,4 @@
{ config, pkgs, ...}: { { config, pkgs, ... }: {
virtualisation.podman.enable = true; virtualisation.podman.enable = true;
virtualisation.oci-containers.backend = "podman"; virtualisation.oci-containers.backend = "podman";
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [