doesn't fail check at least
This commit is contained in:
parent
fe0bf55df2
commit
a09edd8478
2 changed files with 19 additions and 1 deletions
|
@ -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" ];
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue