From 8bcef37db752789d5154f1bc43eae6e63a061961 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 24 Nov 2023 21:44:59 +0100 Subject: [PATCH] add initial akkoma and init rabbitmq for office --- nixos/queen/akkoma.nix | 26 ++++++++++++++++++++++++++ nixos/queen/configuration.nix | 5 +++++ nixos/queen/nextcloud.nix | 4 ++++ 3 files changed, 35 insertions(+) create mode 100644 nixos/queen/akkoma.nix diff --git a/nixos/queen/akkoma.nix b/nixos/queen/akkoma.nix new file mode 100644 index 0000000..caa11b3 --- /dev/null +++ b/nixos/queen/akkoma.nix @@ -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"; + }; + }; +} diff --git a/nixos/queen/configuration.nix b/nixos/queen/configuration.nix index f3f88f4..4f5c1a9 100644 --- a/nixos/queen/configuration.nix +++ b/nixos/queen/configuration.nix @@ -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 diff --git a/nixos/queen/nextcloud.nix b/nixos/queen/nextcloud.nix index e736db1..c7d2b2c 100644 --- a/nixos/queen/nextcloud.nix +++ b/nixos/queen/nextcloud.nix @@ -85,6 +85,10 @@ jwtSecretFile = config.sops.secrets."local.json".path; }; + services.rabbitmq = { + enable = true; + }; + # Enable PostgreSQL services.postgresql = { enable = true;