add initial akkoma and init rabbitmq for office

This commit is contained in:
Lillian Violet 2023-11-24 21:44:59 +01:00
parent 145733d3b6
commit 8bcef37db7
3 changed files with 35 additions and 0 deletions

26
nixos/queen/akkoma.nix Normal file
View file

@ -0,0 +1,26 @@
{
config,
pkgs,
...
}: {
users.groups.akkoma = {};
users.users = {
akkoma = {
isSystemUser = true;
group = "akkoma";
};
};
services.akkoma = {
enable = true;
package = pkgs.akkoma;
extraPackages = with pkgs; [ffmpeg exiftool imagemagick];
nginx = {
addSSL = true;
enableACME = true;
forceSSL = true;
serverName = "akkoma.gladtherescake.eu";
};
};
}

View file

@ -18,6 +18,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
./nextcloud.nix ./nextcloud.nix
#./mail-server.nix #./mail-server.nix
#./akkoma.nix
]; ];
boot.tmp.cleanOnBoot = true; boot.tmp.cleanOnBoot = true;
@ -85,12 +86,15 @@
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
akkoma
age age
fzf fzf
docker docker
docker-compose docker-compose
git git
alejandra alejandra
exiftool
imagemagick
ffmpeg ffmpeg
aria2 aria2
git-filter-repo git-filter-repo
@ -105,6 +109,7 @@
postgresql postgresql
python3 python3
rsync rsync
rabbitmq-server
youtube-dl youtube-dl
wget wget
zsh zsh

View file

@ -85,6 +85,10 @@
jwtSecretFile = config.sops.secrets."local.json".path; jwtSecretFile = config.sops.secrets."local.json".path;
}; };
services.rabbitmq = {
enable = true;
};
# Enable PostgreSQL # Enable PostgreSQL
services.postgresql = { services.postgresql = {
enable = true; enable = true;