forked from Fediversity/Fediversity
try copying from niols
This commit is contained in:
parent
43f1246ed7
commit
402327eae2
1 changed files with 41 additions and 1 deletions
|
@ -11,6 +11,7 @@ testers.runNixOSTest (
|
|||
let
|
||||
sources = import ../../../npins;
|
||||
pkgs = hostPkgs;
|
||||
dummyFile = hostPkgs.writeText "dummy" "";
|
||||
tf = pkgs.callPackage ../../../launch/tf.nix { };
|
||||
tfEnv = pkgs.callPackage ../../../launch/tf-env.nix { };
|
||||
inherit (pkgs) lib;
|
||||
|
@ -85,6 +86,11 @@ testers.runNixOSTest (
|
|||
pkgs.autoconf
|
||||
pkgs.automake
|
||||
pkgs.python3
|
||||
|
||||
pkgs.peertube
|
||||
pkgs.peertube.inputDerivation
|
||||
pkgs.gixy
|
||||
pkgs.gixy.inputDerivation
|
||||
]
|
||||
++ lib.concatLists (
|
||||
map (tm: extraDependenciesFromMachine nodes.${tm}) (targetMachines ++ [ "fake" ])
|
||||
|
@ -94,7 +100,41 @@ testers.runNixOSTest (
|
|||
tfEnv
|
||||
];
|
||||
};
|
||||
fake.imports = [ ../basic/minimalTarget.nix ];
|
||||
|
||||
fake = {
|
||||
imports = [
|
||||
../basic/minimalTarget.nix
|
||||
../../../services/fediversity
|
||||
];
|
||||
fediversity = {
|
||||
domain = "dummy";
|
||||
garage.enable = true;
|
||||
mastodon = {
|
||||
enable = true;
|
||||
s3AccessKeyFile = dummyFile;
|
||||
s3SecretKeyFile = dummyFile;
|
||||
};
|
||||
peertube = {
|
||||
enable = true;
|
||||
secretsFile = dummyFile;
|
||||
s3AccessKeyFile = dummyFile;
|
||||
s3SecretKeyFile = dummyFile;
|
||||
};
|
||||
pixelfed = {
|
||||
enable = true;
|
||||
s3AccessKeyFile = dummyFile;
|
||||
s3SecretKeyFile = dummyFile;
|
||||
};
|
||||
temp.cores = 1;
|
||||
temp.initialUser = {
|
||||
username = "dummy";
|
||||
displayName = "dummy";
|
||||
email = "dummy";
|
||||
passwordFile = dummyFile;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
// lib.genAttrs targetMachines (_: {
|
||||
imports = [ ../basic/minimalTarget.nix ];
|
||||
|
|
Loading…
Add table
Reference in a new issue