aboutsummaryrefslogtreecommitdiff
path: root/flakes/private/peertube
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2023-10-04 01:35:06 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2023-10-04 02:11:48 +0200
commit1a64deeb894dc95e2645a75771732c6cc53a79ad (patch)
tree1b9df4838f894577a09b9b260151756272efeb53 /flakes/private/peertube
parentfa25ffd4583cc362075cd5e1b4130f33306103f0 (diff)
downloadNix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz
Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst
Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository
Diffstat (limited to 'flakes/private/peertube')
-rw-r--r--flakes/private/peertube/flake.lock89
-rw-r--r--flakes/private/peertube/flake.nix16
2 files changed, 48 insertions, 57 deletions
diff --git a/flakes/private/peertube/flake.lock b/flakes/private/peertube/flake.lock
index 4944da7..0ecec47 100644
--- a/flakes/private/peertube/flake.lock
+++ b/flakes/private/peertube/flake.lock
@@ -32,36 +32,26 @@
32 }, 32 },
33 "myuids": { 33 "myuids": {
34 "locked": { 34 "locked": {
35 "dir": "flakes/myuids", 35 "lastModified": 1,
36 "lastModified": 1628207001, 36 "narHash": "sha256-HkW9YCLQCNBX3Em7J7MjraVEZO3I3PizkVV2QrUdULQ=",
37 "narHash": "sha256-7e12OfDv9zMOfqcAlsk1sZj2l3ZB03kcBdWUqhwVaWo=", 37 "path": "../myuids",
38 "ref": "master", 38 "type": "path"
39 "rev": "dfe02d8fd52e33c7d4e1a209cf486696100b88f3",
40 "revCount": 865,
41 "type": "git",
42 "url": "https://git.immae.eu/perso/Immae/Config/Nix.git"
43 }, 39 },
44 "original": { 40 "original": {
45 "dir": "flakes/myuids", 41 "path": "../myuids",
46 "type": "git", 42 "type": "path"
47 "url": "https://git.immae.eu/perso/Immae/Config/Nix.git"
48 } 43 }
49 }, 44 },
50 "myuids_2": { 45 "myuids_2": {
51 "locked": { 46 "locked": {
52 "dir": "flakes/myuids", 47 "lastModified": 1,
53 "lastModified": 1628207001, 48 "narHash": "sha256-HkW9YCLQCNBX3Em7J7MjraVEZO3I3PizkVV2QrUdULQ=",
54 "narHash": "sha256-7e12OfDv9zMOfqcAlsk1sZj2l3ZB03kcBdWUqhwVaWo=", 49 "path": "../myuids",
55 "ref": "master", 50 "type": "path"
56 "rev": "dfe02d8fd52e33c7d4e1a209cf486696100b88f3",
57 "revCount": 865,
58 "type": "git",
59 "url": "https://git.immae.eu/perso/Immae/Config/Nix.git"
60 }, 51 },
61 "original": { 52 "original": {
62 "dir": "flakes/myuids", 53 "path": "../myuids",
63 "type": "git", 54 "type": "path"
64 "url": "https://git.immae.eu/perso/Immae/Config/Nix.git"
65 } 55 }
66 }, 56 },
67 "nixpkgs": { 57 "nixpkgs": {
@@ -97,12 +87,13 @@
97 "peertube": { 87 "peertube": {
98 "flake": false, 88 "flake": false,
99 "locked": { 89 "locked": {
100 "lastModified": 1610436329, 90 "lastModified": 1611184594,
101 "narHash": "sha256-bIXt5bQiBBlNDFXYzcdQA8qp4nse5epUx/XQOguDOX8=", 91 "narHash": "sha256-1N59Dmo9zny+bZWRPiR7fXConECAw9OFcVIWMp2wois=",
102 "owner": "Chocobozzz", 92 "ref": "gitolite_local/open_instance",
103 "repo": "PeerTube", 93 "rev": "f49b8d9b697f098490e81ce0afd889ba37dcb2f3",
104 "rev": "69e0e678beb7f1a3b6753eeff585a14f9a61ea86", 94 "revCount": 6316,
105 "type": "github" 95 "type": "git",
96 "url": "https://git.immae.eu/github/Chocobozzz/PeerTube.git"
106 }, 97 },
107 "original": { 98 "original": {
108 "owner": "Chocobozzz", 99 "owner": "Chocobozzz",
@@ -114,21 +105,21 @@
114 "peertube_2": { 105 "peertube_2": {
115 "flake": false, 106 "flake": false,
116 "locked": { 107 "locked": {
117 "lastModified": 1611184594, 108 "lastModified": 1610436329,
118 "narHash": "sha256-1N59Dmo9zny+bZWRPiR7fXConECAw9OFcVIWMp2wois=", 109 "narHash": "sha256-bIXt5bQiBBlNDFXYzcdQA8qp4nse5epUx/XQOguDOX8=",
119 "ref": "gitolite_local/syden", 110 "owner": "Chocobozzz",
120 "rev": "f49b8d9b697f098490e81ce0afd889ba37dcb2f3", 111 "repo": "PeerTube",
121 "revCount": 6316, 112 "rev": "69e0e678beb7f1a3b6753eeff585a14f9a61ea86",
122 "type": "git", 113 "type": "github"
123 "url": "https://git.immae.eu/github/Chocobozzz/PeerTube.git"
124 }, 114 },
125 "original": { 115 "original": {
126 "ref": "gitolite_local/syden", 116 "owner": "Chocobozzz",
127 "type": "git", 117 "ref": "v3.0.1",
128 "url": "https://git.immae.eu/github/Chocobozzz/PeerTube.git" 118 "repo": "PeerTube",
119 "type": "github"
129 } 120 }
130 }, 121 },
131 "peertube_origin": { 122 "peertube_open_instance": {
132 "inputs": { 123 "inputs": {
133 "flake-utils": "flake-utils", 124 "flake-utils": "flake-utils",
134 "myuids": "myuids", 125 "myuids": "myuids",
@@ -136,16 +127,17 @@
136 "peertube": "peertube" 127 "peertube": "peertube"
137 }, 128 },
138 "locked": { 129 "locked": {
139 "narHash": "sha256-ESrcCrx7QmNk8MHgws9KrPEZqIxKNQ6bcshbUPj9u88=", 130 "lastModified": 1,
140 "path": "../../peertube", 131 "narHash": "sha256-l+XpuMrH6I51hk37REAPVSLlbvCdad3kcDGioodzPR4=",
132 "path": "./../../peertube",
141 "type": "path" 133 "type": "path"
142 }, 134 },
143 "original": { 135 "original": {
144 "path": "../../peertube", 136 "path": "./../../peertube",
145 "type": "path" 137 "type": "path"
146 } 138 }
147 }, 139 },
148 "peertube_syden": { 140 "peertube_origin": {
149 "inputs": { 141 "inputs": {
150 "flake-utils": "flake-utils_2", 142 "flake-utils": "flake-utils_2",
151 "myuids": "myuids_2", 143 "myuids": "myuids_2",
@@ -153,19 +145,20 @@
153 "peertube": "peertube_2" 145 "peertube": "peertube_2"
154 }, 146 },
155 "locked": { 147 "locked": {
156 "narHash": "sha256-ESrcCrx7QmNk8MHgws9KrPEZqIxKNQ6bcshbUPj9u88=", 148 "lastModified": 1,
157 "path": "../../peertube", 149 "narHash": "sha256-l+XpuMrH6I51hk37REAPVSLlbvCdad3kcDGioodzPR4=",
150 "path": "./../../peertube",
158 "type": "path" 151 "type": "path"
159 }, 152 },
160 "original": { 153 "original": {
161 "path": "../../peertube", 154 "path": "./../../peertube",
162 "type": "path" 155 "type": "path"
163 } 156 }
164 }, 157 },
165 "root": { 158 "root": {
166 "inputs": { 159 "inputs": {
167 "peertube_origin": "peertube_origin", 160 "peertube_open_instance": "peertube_open_instance",
168 "peertube_syden": "peertube_syden" 161 "peertube_origin": "peertube_origin"
169 } 162 }
170 } 163 }
171 }, 164 },
diff --git a/flakes/private/peertube/flake.nix b/flakes/private/peertube/flake.nix
index e0e0d54..8eb81e9 100644
--- a/flakes/private/peertube/flake.nix
+++ b/flakes/private/peertube/flake.nix
@@ -1,27 +1,25 @@
1{ 1{
2 description = "Patched peertube"; 2 description = "Patched peertube";
3 inputs.peertube_origin = { 3 inputs.peertube_origin = {
4 path = "../../peertube"; 4 url = "path:./../../peertube";
5 type = "path";
6 }; 5 };
7 inputs.peertube_syden = { 6 inputs.peertube_open_instance = {
8 path = "../../peertube"; 7 url = "path:./../../peertube";
9 type = "path";
10 inputs.peertube = { 8 inputs.peertube = {
11 url = "https://git.immae.eu/github/Chocobozzz/PeerTube.git"; 9 url = "https://git.immae.eu/github/Chocobozzz/PeerTube.git";
12 ref = "gitolite_local/syden"; 10 ref = "gitolite_local/open_instance";
13 flake = false; 11 flake = false;
14 type = "git"; 12 type = "git";
15 }; 13 };
16 }; 14 };
17 15
18 outputs = { self, peertube_origin, peertube_syden }: { 16 outputs = { self, peertube_origin, peertube_open_instance }: {
19 overlays = { 17 overlays = {
20 peertube_syden = final: prev: { peertube_syden = peertube_syden.defaultPackage."${final.system}"; }; 18 peertube_open_instance = final: prev: { peertube_open_instance = peertube_open_instance.defaultPackage."${final.system}"; };
21 peertube_origin = final: prev: { peertube_origin = peertube_origin.defaultPackage."${final.system}"; }; 19 peertube_origin = final: prev: { peertube_origin = peertube_origin.defaultPackage."${final.system}"; };
22 }; 20 };
23 packages.x86_64-linux.peertube = peertube_origin.packages.x86_64-linux.peertube; 21 packages.x86_64-linux.peertube = peertube_origin.packages.x86_64-linux.peertube;
24 packages.x86_64-linux.peertube_syden = peertube_syden.packages.x86_64-linux.peertube; 22 packages.x86_64-linux.peertube_open_instance = peertube_open_instance.packages.x86_64-linux.peertube;
25 defaultPackage.x86_64-linux = peertube_origin.defaultPackage.x86_64-linux; 23 defaultPackage.x86_64-linux = peertube_origin.defaultPackage.x86_64-linux;
26 nixosModule = peertube_origin.nixosModule; 24 nixosModule = peertube_origin.nixosModule;
27 }; 25 };