doesn't fail check at least

This commit is contained in:
twoneis 2025-02-07 20:20:02 +01:00
parent fe0bf55df2
commit a09edd8478
2 changed files with 19 additions and 1 deletions

View file

@ -7,7 +7,10 @@
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
networking.hostName = "ellaca"; networking = {
hostName = "ellaca";
domain = "twoneis.site";
};
boot = { boot = {
initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ]; initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ];

View file

@ -1,9 +1,24 @@
{ lib, config, ... }: let { lib, config, ... }: let
inherit (lib) mkIf; inherit (lib) mkIf;
inherit (config) conf; inherit (config) conf;
name = "mira on fedi";
description = "miras akkoma instance";
email = "akkoma@chpu.eu";
in mkIf conf.fedi.enable { in mkIf conf.fedi.enable {
services.akkoma = { services.akkoma = {
enable = true; enable = true;
config = {
":pleroma" = {
":instance" = {
name = name;
email = email;
description = description;
};
"Pleroma.Upload" = {
base_url = "https://media.fedi.twoneis.site/media";
};
};
};
nginx = { nginx = {
serverName = "fedi.twoneis.site"; serverName = "fedi.twoneis.site";
}; };