diff --git a/flake.nix b/flake.nix index 2b83679..98147d2 100644 --- a/flake.nix +++ b/flake.nix @@ -119,6 +119,7 @@ overlays-module ./hosts/amy/configuration.nix ./roles/coredns + ./roles/iceshrimp.nix ./roles/podman.nix ./roles/postgres.nix home-manager-stable.nixosModules.home-manager diff --git a/roles/iceshrimp.nix b/roles/iceshrimp.nix new file mode 100644 index 0000000..1e07afd --- /dev/null +++ b/roles/iceshrimp.nix @@ -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 +} diff --git a/roles/podman.nix b/roles/podman.nix index 7ecf3b2..0273fde 100644 --- a/roles/podman.nix +++ b/roles/podman.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ...}: { +{ config, pkgs, ... }: { virtualisation.podman.enable = true; virtualisation.oci-containers.backend = "podman"; environment.systemPackages = with pkgs; [