mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 15:26:53 +01:00
enable peertube
This commit is contained in:
parent
f587e19962
commit
83825032da
3 changed files with 16 additions and 0 deletions
|
@ -117,6 +117,7 @@
|
|||
./modules/auto-update
|
||||
./modules/services/repo-sync
|
||||
./modules/services/moodle-dl
|
||||
./modules/web/peertube
|
||||
./modules/users/jopejoe1
|
||||
./modules/users/root
|
||||
./overlays
|
||||
|
|
11
modules/web/peertube/default.nix
Normal file
11
modules/web/peertube/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.peertube = {
|
||||
enable = true;
|
||||
secrets.secretsFile = "/run/secrets/peertube";
|
||||
redis.createLocally = true;
|
||||
database.createLocally = true;
|
||||
localDomain = "peertube.local";
|
||||
};
|
||||
}
|
|
@ -18,6 +18,10 @@
|
|||
doCheck = false;
|
||||
});
|
||||
|
||||
redis = super.redis.overrideAttrs (_old: {
|
||||
doCheck = false;
|
||||
});
|
||||
|
||||
haskellPackages = super.haskellPackages.override {
|
||||
overrides = hsSelf: hsSuper: {
|
||||
crypton = super.haskell.lib.overrideCabal hsSuper.crypton (oa: {
|
||||
|
|
Loading…
Reference in a new issue