Commit Graph

140 Commits

Author SHA1 Message Date
Colin eae075acb5 flake: remove unused nixpkgs-stable argument. we can re-add it when needed 2023-01-31 04:09:49 +00:00
Colin 39effa15ad flake: remove unused home-manager input 2023-01-30 01:56:22 +00:00
colin 026746a76f flake.nix: document the `init-feed` "app" 2023-01-21 06:22:18 +00:00
colin 016384aa2b nixpatches: move the list to the nixpatches flake instead of injecting it 2023-01-16 06:46:59 +00:00
colin bd504f6c83 pin `nheko` package 2023-01-15 07:52:21 +00:00
colin bdd309eb15 flake: convert `path:nixpatches` -> `./nixpatches` to fix poor flake input invalidation 2023-01-15 07:36:04 +00:00
colin eedc1170ec fix: remove kiwix-tools patch & improve nixpatches sub-flake UX 2023-01-15 04:27:42 +00:00
colin 5a586c6e3c flake: migrate back to the more-efficient github: input scheme 2023-01-15 04:10:10 +00:00
colin 371bcad650 flake.nix: use conventional URIs, no custom shit 2023-01-14 23:28:12 +00:00
colin c0f76ea8d8 flake: add flake feedback info for nix devs/readers 2023-01-14 23:20:38 +00:00
colin fc70889c34 Revert "import nix-script": it doesn't provide benefit over nix-shell
This reverts commit fe15cdd705.

although it *does* support generating derivation text,
import-from-derivation on the results is too clunky to actually be
usable in practice. it frequently mysteriously hangs instead.
2023-01-14 04:01:04 +00:00
colin fe15cdd705 import nix-script
this is a tool i can use like `nix-shell`, but it should be more
amenable to packaging. `nix-script --export --build-root .
./my-script.sh` gives a derivation which i should be able to
`callPackage` on.
2023-01-13 15:08:30 +00:00
colin fd7acc8fc8 let host nix (i.e. nix-shell, nix-locate) know about our patched nixpkgs and overlays 2023-01-13 09:41:05 +00:00
colin e439d398b6 flake: patch using the target system instead of the host 2023-01-13 09:05:00 +00:00
colin e6d9edf27d feeds: add a script to initialize a feed, as well 2023-01-11 10:41:39 +00:00
colin 78782d5f7e flake: update-feeds now actually does update *all* feeds 2023-01-11 10:31:00 +00:00
colin 91275f3723 flake: make an `app` which updates one feed 2023-01-11 10:22:25 +00:00
colin 4c475bbf9c flake: formatting nit 2023-01-11 09:33:59 +00:00
colin 7040e1f07c flake: rename decl-host -> evalHost 2023-01-11 09:31:05 +00:00
colin aafa64942c flake: simplify the definition of `packages` 2023-01-11 09:29:49 +00:00
colin a44a99e371 flake: simplify the imgs/nixosConfigurations definition 2023-01-11 09:24:24 +00:00
colin a7ff90c843 flake: nixpkgs can now be built without specifying `nixpkgs.` as a prefix 2023-01-11 09:21:09 +00:00
colin d4996d6f31 flake: fix passthru overlays (fixes broken image building) 2023-01-11 09:08:46 +00:00
colin bd5209c655 move cross compilation out of the flake and into the host definitions 2023-01-11 08:56:06 +00:00
colin 9588108fd5 restructure flake so that nixosConfigurations mostly just references the other flake outputs 2023-01-11 08:45:41 +00:00
colin 942e302afb flake: fix crossFrom.aarch64-linux to actually be compiled from that system 2023-01-11 07:51:19 +00:00
colin 2bd98e6764 flake: clean up nixpkgsFor-related functions 2023-01-11 07:50:32 +00:00
colin 7b9910f287 reorder `pkgs.cross` definition for better readability 2023-01-11 07:37:01 +00:00
colin 917afe209e try to do cross-compiling in a slightly less hacky way 2023-01-11 07:22:21 +00:00
colin cc5cf9b6f4 flake: format 2023-01-11 05:58:07 +00:00
colin 57d95dd298 flake: document the weird importing 2023-01-10 17:51:04 +00:00
colin 0b78df53be change the nixpkgs url type so that it hashes stably 2023-01-10 17:44:58 +00:00
colin c8dcb4ac59 flake: lift the nixpkgs patching out to its own flake
i hope it's a *little* cleaner this way, but tbh i'm not really sure.
2023-01-10 17:00:48 +00:00
colin 175bc0709f remove external impermanence library 2023-01-04 02:18:03 +00:00
colin 01e44c1f7f flake.nix: remove unused specialArgs 2023-01-03 14:18:57 +00:00
colin 57f5521ef3 grpc: unpin (seems to build OK) 2023-01-03 03:05:07 +00:00
colin 8c7700688f nixpatches: add kiwix-tools package that's being upstreamed 2022-12-16 01:22:38 +00:00
colin 995b41d1e8 flake: update nixpkgs-stable 22.05 -> 22.11 2022-12-14 22:32:41 +00:00
colin 329693c9ce pin grpc & users, until the grpc aarch64 build is fixed 2022-12-14 12:27:24 +00:00
colin 0253774622 add `templates.python-data`
for more info, see
<https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake-init.html>
2022-11-30 00:48:27 +00:00
colin ff9c26b03d servo: port to Ryzen/x86 machine 2022-11-29 02:20:18 +00:00
colin 04ea55499a gocryptfs: don't cross build 2022-11-22 13:46:44 +00:00
colin 43fa7fdd9f rename `machines` -> `hosts`
- shorter.
- congruent with `nixos-rebuild .` choosing what to build based on `hostname`.
- more widely used within other nix repos i've seen.
- more accurate in the case that i migrate a host to a different
machine (which i plan to do with servo).
2022-11-22 02:33:47 +00:00
colin c3eacf7126 unpin electrum, sequoia
they build now
2022-11-08 09:08:51 +00:00
colin 10a665d11c add a `servo-cross` target
though it looks like rpi4 linux actually fails to cross-compile due to
some RMW page error
2022-11-06 06:04:54 -08:00
colin 5ff47b3719 remove unused `rycee` flake input
it was previously used for browser addons: i've since moved those
in-house for technical reasons.
2022-11-01 16:07:57 -07:00
colin 9acf2dfde1 gocryptfs: cross-compile for aarch64 2022-10-31 03:05:24 -07:00
colin 6236c14def vendor librewolf addons instead of fetching them on first run
this obviously speeds up startup, it's hopefully also less likely to
break surprisingly, and i hope it's the path to me shipping forks of
official extensions.
2022-10-27 03:20:29 -07:00
colin 4c4b73f693 refactor: `helpers/set-hostname.nix` becomes `machines/instantiate.nix` 2022-10-24 06:06:11 -07:00
colin 5b5187bd03 flake update: nixpkgs 2022-10-09 -> 2022-10-13, others
```
• Updated input 'mobile-nixos':
    'github:nixos/mobile-nixos/0bf9b6da8c4d0ee31c3e988c99893de4da7df74a' (2022-10-10)
  → 'github:nixos/mobile-nixos/e4b6f680b2a4f29f087a7c1299c11499d1a367b6' (2022-10-14)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1' (2022-10-09)
  → 'github:NixOS/nixpkgs/ba187fbdc5e35322c7dff556ef2c47bddfd6e8d7' (2022-10-13)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/e179d1e57ad07f1294dcc29ad5283b214a6ae21e' (2022-10-10)
  → 'github:NixOS/nixpkgs/e06bd4b64bbfda91d74f13cb5eca89485d47528f' (2022-10-12)
• Updated input 'uninsane':
    'git+https://git.uninsane.org/colin/uninsane?ref=refs%2fheads%2fmaster&rev=25df079540cb669fb5e735631fe03a4d113d1c73' (2022-10-11)
  → 'git+https://git.uninsane.org/colin/uninsane?ref=refs%2fheads%2fmaster&rev=70e7d8e94a6240a5ce976bbc514e0979b7178190' (2022-10-14)
```
2022-10-13 21:41:02 -07:00