forked from Fediversity/Fediversity
33 lines
657 B
Nix
33 lines
657 B
Nix
{
|
|
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;
|
|
modules = [ ./common.nix ./mastodon.nix ];
|
|
};
|
|
|
|
peertube = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [ ./common.nix ./peertube.nix ];
|
|
};
|
|
};
|
|
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
inputs = with pkgs; [
|
|
nil
|
|
];
|
|
};
|
|
};
|
|
}
|