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;