chore: make iceshrimp redis the primary
This commit is contained in:
parent
a6d9603b83
commit
7a5f37b50a
3 changed files with 12 additions and 1 deletions
|
@ -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
10
roles/iceshrimp.nix
Normal 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
|
||||||
|
}
|
|
@ -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; [
|
||||||
|
|
Loading…
Reference in a new issue