--- /dev/null
+{
+ "nodes": {
+ "flake-utils": {
+ "locked": {
+ "lastModified": 1610051610,
+ "narHash": "sha256-U9rPz/usA1/Aohhk7Cmc2gBrEEKRzcW4nwPWMPwja4Y=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "3982c9903e93927c2164caa727cd3f6a0e6d14cc",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "myuids": {
+ "locked": {
+ "dir": "flakes/myuids",
+ "lastModified": 1611091761,
+ "narHash": "sha256-fE3FBeUxVaMezKjEpepdQW9apOza+0AfBALFhaaD0VA=",
+ "ref": "master",
+ "rev": "23f9fdf03a6673dbe334ae33be4f498cc4753191",
+ "revCount": 802,
+ "type": "git",
+ "url": "https://git.immae.eu/perso/Immae/Config/Nix.git"
+ },
+ "original": {
+ "dir": "flakes/myuids",
+ "type": "git",
+ "url": "https://git.immae.eu/perso/Immae/Config/Nix.git"
+ }
+ },
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1611097871,
+ "narHash": "sha256-Q6bUkno5JNt0OoyXThFDrKArFBp/GryvJhwEgVzGSuk=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "31f5dd3f3655fbedac19f64f77844aa5ed79501c",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "peertube": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1611184594,
+ "narHash": "sha256-1N59Dmo9zny+bZWRPiR7fXConECAw9OFcVIWMp2wois=",
+ "ref": "gitolite_local/syden",
+ "rev": "f49b8d9b697f098490e81ce0afd889ba37dcb2f3",
+ "revCount": 6316,
+ "type": "git",
+ "url": "https://git.immae.eu/github/Chocobozzz/PeerTube.git"
+ },
+ "original": {
+ "ref": "gitolite_local/syden",
+ "type": "git",
+ "url": "https://git.immae.eu/github/Chocobozzz/PeerTube.git"
+ }
+ },
+ "peertube_syden": {
+ "inputs": {
+ "flake-utils": "flake-utils",
+ "myuids": "myuids",
+ "nixpkgs": "nixpkgs",
+ "peertube": "peertube"
+ },
+ "locked": {
+ "dir": "flakes/peertube",
+ "lastModified": 1611270106,
+ "narHash": "sha256-VKDczZDM9A2dGoSAEN6rUDxvLKYUuoDMefQc7fabvXo=",
+ "ref": "master",
+ "rev": "1279eb87299a44167c4ed4a10a9088d58654b5d3",
+ "revCount": 805,
+ "type": "git",
+ "url": "https://git.immae.eu/perso/Immae/Config/Nix.git"
+ },
+ "original": {
+ "dir": "flakes/peertube",
+ "type": "git",
+ "url": "https://git.immae.eu/perso/Immae/Config/Nix.git"
+ }
+ },
+ "root": {
+ "inputs": {
+ "peertube_syden": "peertube_syden"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
--- /dev/null
+{
+ description = "Patched peertube";
+ inputs.peertube_syden = {
+ url = "https://git.immae.eu/perso/Immae/Config/Nix.git";
+ type = "git";
+ dir = "flakes/peertube";
+ inputs.peertube = {
+ url = "https://git.immae.eu/github/Chocobozzz/PeerTube.git";
+ ref = "gitolite_local/syden";
+ flake = false;
+ type = "git";
+ };
+ };
+
+ outputs = { self, peertube_syden }: {
+ packages.x86_64-linux.peertube_syden = peertube_syden.packages.x86_64-linux.peertube_syden;
+ defaultPackage.x86_64-linux = peertube_syden.defaultPackage.x86_64-linux;
+ };
+}
scfg = config.myServices.websites.syden.peertube;
name = "peertube";
dataDir = "/var/lib/syden_peertube";
- package = pkgs.webapps.peertube.override { sendmail = true; syden = true; light = "fr-FR"; };
+ package = (pkgs.mylibs.flakeCompat ../../../../flakes/private/peertube).default;
env = config.myEnv.tools.syden_peertube;
in
{
captions: '${dataDir}/storage/captions/'
cache: '${dataDir}/storage/cache/'
plugins: '${dataDir}/storage/plugins/'
+ client_overrides: '${dataDir}/storage/client-overrides/'
'';
}];