2024-02-22 10:56:31 +01:00
|
|
|
{
|
|
|
|
description = "Testing mastodon configurations";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs }:
|
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in {
|
|
|
|
|
|
|
|
nixosConfigurations = {
|
|
|
|
mastodon = nixpkgs.lib.nixosSystem {
|
|
|
|
inherit system;
|
2024-03-27 10:42:11 +01:00
|
|
|
modules = [ ./common.nix ./mastodon.nix ./garage.nix ];
|
2024-03-20 00:43:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
peertube = nixpkgs.lib.nixosSystem {
|
|
|
|
inherit system;
|
2024-04-03 14:40:19 +02:00
|
|
|
modules = [ ./common.nix ./peertube.nix ./garage.nix ];
|
2024-02-22 10:56:31 +01:00
|
|
|
};
|
2024-03-20 01:39:59 +01:00
|
|
|
|
|
|
|
pixelfed = nixpkgs.lib.nixosSystem {
|
|
|
|
inherit system;
|
|
|
|
modules = [ ./common.nix ./pixelfed.nix ];
|
|
|
|
};
|
|
|
|
|
|
|
|
all = nixpkgs.lib.nixosSystem {
|
|
|
|
inherit system;
|
|
|
|
modules = [ ./common.nix ./mastodon.nix ./peertube.nix ./pixelfed.nix ];
|
|
|
|
};
|
2024-02-22 10:56:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
|
|
inputs = with pkgs; [
|
|
|
|
nil
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|