dev.fron.io rc / 95eebc0
flake: update lock Tony Olagbaiye 1 year, 6 months ago
5 changed file(s) with 121 addition(s) and 75 deletion(s). Raw diff Collapse all Expand all
8181 },
8282 "construct": {
8383 "inputs": {
84 "nixpkgs": "nixpkgs"
85 },
86 "locked": {
87 "lastModified": 1592020396,
88 "narHash": "sha256-dw/73dXI5VsOVTaS0e7tOCzmlLL1S6RXUchCCb8dy98=",
84 "nixpkgs": [
85 "large"
86 ]
87 },
88 "locked": {
89 "lastModified": 1592489500,
90 "narHash": "sha256-09j26HWzZha+8QqElzHaG2wa06DVDmBm4A8tgGbi4tc=",
8991 "owner": "matrix-construct",
9092 "repo": "construct",
91 "rev": "6f508f92a45df9ae5a7e449e9ae207f9922c9df8",
93 "rev": "3a7bfdc54af9e92d52f60c330a919e979840d77f",
9294 "type": "github"
9395 },
9496 "original": {
131133 },
132134 "dwarffs": {
133135 "inputs": {
134 "nix": "nix",
135 "nixpkgs": "nixpkgs_2"
136 "nix": [
137 "nix"
138 ],
139 "nixpkgs": [
140 "master"
141 ]
136142 },
137143 "locked": {
138144 "lastModified": 1589218916,
150156 },
151157 "emacs": {
152158 "locked": {
153 "lastModified": 1591906598,
154 "narHash": "sha256-sumc0+HhTcVWHUH+LbaGy7imtvsFC4Br+/mNKBSHpFw=",
159 "lastModified": 1592914616,
160 "narHash": "sha256-c4AwOdmwKa/koVzamhkLGLve2mCf8r7web4sLS229dg=",
155161 "owner": "nix-community",
156162 "repo": "emacs-overlay",
157 "rev": "5d0f18caf6070e5491864f0b637fbebaef918c91",
163 "rev": "ba0ec25de27288c5350f47001524b29716b82c55",
158164 "type": "github"
159165 },
160166 "original": {
181187 },
182188 "guix": {
183189 "inputs": {
184 "nixpkgs": "nixpkgs"
190 "nixpkgs": [
191 "large"
192 ]
185193 },
186194 "locked": {
187195 "lastModified": 1589350842,
200208 "hardware": {
201209 "flake": false,
202210 "locked": {
203 "lastModified": 1589985348,
204 "narHash": "sha256-8e2qG0TPTmRPCG2aSpLypuTgK4gN1U8exBKI42u3OJU=",
211 "lastModified": 1592746519,
212 "narHash": "sha256-gMjpYbw30/lsIw0AH7eiIIiKBN43MGe2PYrExVGQjlE=",
205213 "owner": "nixos",
206214 "repo": "nixos-hardware",
207 "rev": "2f2c2d9ef5dcc663a504819ad73cc98a4cd26458",
215 "rev": "a78b8b647692919fe871f5726b7b5e01dd725a88",
208216 "type": "github"
209217 },
210218 "original": {
215223 },
216224 "haskell": {
217225 "locked": {
218 "lastModified": 1592132043,
219 "narHash": "sha256-eJJRNKGctqMfIc7bB52EoYbA10PwwQ+DbDnxkQHPWLQ=",
226 "lastModified": 1592888221,
227 "narHash": "sha256-yoFKHxIqYniX8SgvOJrSPf4UUkXKPAJSqd2/GA+09zY=",
220228 "owner": "input-output-hk",
221229 "repo": "haskell.nix",
222 "rev": "edc948e0e8dc9b71b22b61ac06be2b4d5f54591d",
230 "rev": "285b4ae6ef222c299c100ae0d89e5060f6b0c879",
223231 "type": "github"
224232 },
225233 "original": {
262270 },
263271 "home": {
264272 "inputs": {
265 "nixpkgs": "nixpkgs"
273 "nixpkgs": [
274 "large"
275 ]
266276 },
267277 "locked": {
268278 "lastModified": 1589826413,
295305 "type": "github"
296306 }
297307 },
308 "large": {
309 "locked": {
310 "lastModified": 1592668459,
311 "narHash": "sha256-hzukh43ECWhvLmQbXdrPy8YLcYYwN3afeQQ+mRkpxac=",
312 "owner": "nixos",
313 "repo": "nixpkgs",
314 "rev": "4cdd64d9078181e8fcb6132909dc2835059a09bd",
315 "type": "github"
316 },
317 "original": {
318 "owner": "nixos",
319 "ref": "nixos-unstable",
320 "repo": "nixpkgs",
321 "type": "github"
322 }
323 },
324 "master": {
325 "locked": {
326 "lastModified": 1592918978,
327 "narHash": "sha256-Sk9v9kzYjNHMj4uzKINMzTq4y/14pHy7J5hNabJHjOI=",
328 "owner": "nixos",
329 "repo": "nixpkgs",
330 "rev": "21a21a422498c89d2c87ae07e390501318a5a9ea",
331 "type": "github"
332 },
333 "original": {
334 "owner": "nixos",
335 "ref": "master",
336 "repo": "nixpkgs",
337 "type": "github"
338 }
339 },
298340 "mozilla": {
299341 "flake": false,
300342 "locked": {
313355 },
314356 "naersk": {
315357 "inputs": {
316 "nixpkgs": "nixpkgs"
358 "nixpkgs": [
359 "large"
360 ]
317361 },
318362 "locked": {
319363 "lastModified": 1587044740,
347391 },
348392 "nix": {
349393 "inputs": {
350 "nixpkgs": "nixpkgs_2"
351 },
352 "locked": {
353 "lastModified": 1591269388,
354 "narHash": "sha256-6HiLuq3XgUpEUEsgYDGCYALPjPjYnmHaimTMn/24HUI=",
394 "nixpkgs": [
395 "master"
396 ]
397 },
398 "locked": {
399 "lastModified": 1592922332,
400 "narHash": "sha256-k3JJuW9m8eRwRbE0QTb2+ZYMF8d+m+6xOoJcjl48Y6o=",
355401 "owner": "nixos",
356402 "repo": "nix",
357 "rev": "f85606c431dc1225ba32ecefaa4aea1eb6d4356e",
403 "rev": "09fc06daab280735dd2ec94276f00a9c5bffd9b2",
358404 "type": "github"
359405 },
360406 "original": {
365411 }
366412 },
367413 "nixpkgs": {
368 "locked": {
369 "lastModified": 1591120815,
370 "narHash": "sha256-kmG7D+k5L1VidMeit8Hmk7XGXUa1o2DLGKvdYOLj52M=",
371 "owner": "nixos",
372 "repo": "nixpkgs",
373 "rev": "467ce5a9f45aaf96110b41eb863a56866e1c2c3c",
374 "type": "github"
375 },
376 "original": {
377 "owner": "nixos",
378 "ref": "nixos-unstable",
379 "repo": "nixpkgs",
380 "type": "github"
381 }
382 },
383 "nixpkgs_2": {
384 "locked": {
385 "lastModified": 1590704227,
386 "narHash": "sha256-J3R7j54tUBDGazke8/z3WD9YNSKglOuzM1785ZZc2cw=",
387 "owner": "nixos",
388 "repo": "nixpkgs",
389 "rev": "8c5f4b8a3b1957c7c1919658bae1a4b5caf759b7",
390 "type": "github"
391 },
392 "original": {
393 "owner": "nixos",
394 "ref": "master",
395 "repo": "nixpkgs",
396 "type": "github"
397 }
398 },
399 "nixpkgs_3": {
400414 "locked": {
401415 "lastModified": 1590704227,
402416 "narHash": "sha256-J3R7j54tUBDGazke8/z3WD9YNSKglOuzM1785ZZc2cw=",
411425 },
412426 "nixus": {
413427 "inputs": {
414 "nixpkgs": "nixpkgs_3"
428 "nixpkgs": "nixpkgs"
415429 },
416430 "locked": {
417431 "lastModified": 1591053277,
629643 "hardware": "hardware",
630644 "haskell": "haskell",
631645 "home": "home",
632 "large": "nixpkgs",
633 "master": "nixpkgs_2",
646 "large": "large",
647 "master": "master",
634648 "mozilla": "mozilla",
635649 "naersk": "naersk",
636650 "napalm": "napalm",
677691 },
678692 "small": {
679693 "locked": {
680 "lastModified": 1590942440,
681 "narHash": "sha256-oret83GE3c+dGxfu82DC4EeFMsQEGXMi/fo2aO2jw2g=",
682 "owner": "nixos",
683 "repo": "nixpkgs",
684 "rev": "17b5c029759502b3a02bd4b2310c5bfef3f7c41c",
694 "lastModified": 1592871628,
695 "narHash": "sha256-/KTcKPhB5VJLkqa72PG6SkL2NbLUFYjctqSpvUwcj60=",
696 "owner": "nixos",
697 "repo": "nixpkgs",
698 "rev": "fd1c513acaecb97e299e331969881e59706709a1",
685699 "type": "github"
686700 },
687701 "original": {
725739 },
726740 "staged": {
727741 "locked": {
728 "lastModified": 1590703727,
729 "narHash": "sha256-YPN+BfmS97AehcjZb8hcL6WoRohIlq0vor6X3C5PaNA=",
730 "owner": "nixos",
731 "repo": "nixpkgs",
732 "rev": "3a4fec82326f53fd14721aa3c4fd8560752f8982",
742 "lastModified": 1592836714,
743 "narHash": "sha256-s33Ph8kWg6zV+E4Fb6cJ31M6s5W1AzUp4Amm+WjESJA=",
744 "owner": "nixos",
745 "repo": "nixpkgs",
746 "rev": "fa54dd346fe5e73d877f2068addf6372608c820b",
733747 "type": "github"
734748 },
735749 "original": {
800814 "hist-navigator": "hist-navigator",
801815 "histcpy": "histcpy",
802816 "kitty": "kitty",
803 "nixpkgs": "nixpkgs",
817 "nixpkgs": [
818 "large"
819 ],
804820 "output-search": "output-search",
805821 "pause": "pause",
806822 "pipeliner": "pipeliner",
852868 }
853869 },
854870 "root": "root",
855 "version": 6
871 "version": 7
856872 }
8989 naersk = inputs.naersk.lib.${system};
9090 snack = pkgs.callPackage (import "${inputs.snack}/snack-lib");
9191 napalm = pkgs.callPackage inputs.napalm;
92 qutebrowser = pkgs.small.qutebrowser;
9293 })
9394 inputs.nix.overlay
9495 inputs.guix.overlay
5959
6060 virtualisation.libvirtd.enable = true;
6161 virtualisation.virtualbox.host.enable = false;
62 virtualisation.anbox.enable = true;
62 virtualisation.anbox.enable = builtins.trace "Anbox still disabled until nixos/nixpkgs#91367 is resolved" false;
6363 systemd.network.networks = {
6464 "40-anbox0".networkConfig.ConfigureWithoutCarrier = true;
6565 };
0 { nix, nixos-rebuild, lib, substituteAll, path, jq }:
1
2 let
3 makeProg = args: substituteAll (args // {
4 dir = "bin";
5 isExecutable = true;
6 });
7
8 fallback = import "${path}/nixos/modules/installer/tools/nix-fallback-paths.nix";
9
10 #nixos-rebuild = makeProg {
11 # name = "nixos-rebuild";
12 # src = "${path}/nixos/modules/installer/tools/nixos-rebuild.sh";
13 # nix = nix.out;
14 # nix_x86_64_linux = fallback.x86_64-linux;
15 # nix_i686_linux = fallback.i686-linux;
16 # path = lib.makeBinPath [ jq ];
17 #};
18 in nixos-rebuild.overrideAttrs (_: {
19 postInstall = ''
20 sed -i '/extraBuildFlags=()/s/()/("--log-format" "bar-with-logs")/' $target
21 '';
22 })
3030
3131 time.timeZone = "Europe/London";
3232
33 environment = {
33 environment = let
34 nixos-rebuild = pkgs.callPackage ../pkgs/lib/nixos-rebuild.nix {
35 nix = config.nix.package;
36 nixos-rebuild = config.system.build.nixos-rebuild;
37 };
38 in {
3439 systemPackages = with pkgs; [
3540 binutils
3641 coreutils
4550 iputils
4651 manpages
4752 moreutils
53 (pkgs.hiPrio nixos-rebuild)
4854 ripgrep
4955 stdmanpages
5056 utillinux