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

View file

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