Commit Graph

252 Commits

Author SHA1 Message Date
Colin 76b6b71879 mobile-nixos: pin to 2023-09-15 2023-11-08 12:13:50 +00:00
Colin 4951520584 flake: integrate rescue image building into the "check" target 2023-11-08 11:39:45 +00:00
Colin e30d452254 flake: add help for building the rescue image 2023-11-08 11:35:32 +00:00
Colin 05513da298 rename host-pkgs -> hostPkgs 2023-10-24 12:25:39 +00:00
Colin 55ad5dcc01 flake: check.host-configs: be more verbose 2023-10-18 06:00:07 +00:00
Colin 387b49a8b5 flake.nix: support list-type updateScripts (e.g. `nix-update-script {}`) 2023-09-27 19:10:14 +00:00
Colin 0bbe3e14c1 flake: show flake targets as part of "help" 2023-09-27 18:38:06 +00:00
Colin 10dd18a42a flake: remove nix-serve
even though upstream issue remains open, i observe a successful build via the nix-serve cache
2023-09-25 14:37:58 +00:00
Colin 691f009656 clean up documentation 2023-09-25 13:35:50 +00:00
Colin 68f1af090e have nix flake .#check do both NUR and system builds 2023-09-25 13:09:02 +00:00
Colin 28220ea8b4 flake: plumb date/rev into built nixos system images 2023-09-24 15:30:12 +00:00
Colin e8bf83274f flake: have update.pkgs not update the feeds by default 2023-09-24 12:36:17 +00:00
Colin 0e238ff2dd fix pkgs.feeds update scripts 2023-09-24 12:11:28 +00:00
Colin d0cbfaed44 flake: add aliases for bulk package updating 2023-09-24 10:50:02 +00:00
Colin 791dc59ba2 flake: expose update script for every package that has one 2023-09-24 10:27:32 +00:00
Colin 457197f85b gpodder-adaptive: 3.11.1+1 -> 3.11.2+1 and add an updateScript 2023-09-24 08:16:19 +00:00
Colin 68e3bc932f bypass-paywalls-clean: 3.2.5.0 -> 3.3.4.0; lay the foundation for updateScripts in this repo
note that the hash produced by the updateScript wasn't actually correct
(failed once i attempted to build it). hmm.
2023-09-22 10:13:56 +00:00
Colin d33b6eec59 flake: add a check-host-configs target to ensure all hosts are buildable 2023-09-02 01:25:20 +00:00
Colin 1a7837d740 flake: add a sync-lappy command 2023-08-20 07:46:55 +00:00
Colin 7857f123a4 new `nix run '.#sync-moby'` command to synchronize music onto my mobile phone 2023-08-14 08:20:06 +00:00
Colin 3b5ff938ce flake: apply nixpatches/list.nix using the build patcher, not the emulated host patcher 2023-08-05 09:32:50 +00:00
Colin b4c83987f9 overlays: split the pipewire ffado tweak into a `preferences` overlay 2023-08-02 06:38:46 +00:00
Colin 039d685e3c flake: deploy-moby: deploy to the wireguard address, to handle when the device is docked 2023-07-30 11:23:02 +00:00
Colin 6572557b5b flake: add `help` program 2023-07-28 00:49:44 +00:00
Colin a907fa1ca7 flake: rework so deploy scripts can be run in parallel 2023-07-18 09:10:25 +00:00
Colin 1f82679f62 add a deploy-servo nix script, like deploy-moby 2023-07-06 22:40:25 +00:00
Colin 2c49dfa642 refactor: remove overlays/pins.nix 2023-06-29 22:47:51 +00:00
Colin 9b3ee537a8 flake: add "check-nur" app to validate that my repo passes NUR checks 2023-06-26 01:26:13 +00:00
Colin 931838fb0d sxmo: ship deps via package instead of at the DE level 2023-06-23 08:31:48 +00:00
Colin 4785e54024 flake: new output to build `sane.programs.foo.package` 2023-05-24 23:32:21 +00:00
Colin 9b2b261bd3 fix overlay application order so `cross` comes before `pkgs`
this lets me add new packages, and have them be emulated on moby builds
2023-05-24 03:57:35 +00:00
Colin 72e8d62145 Merge branch 'staging/nixpkgs-2023-05-14' 2023-05-18 08:35:24 +00:00
Colin 43ec95f54a begin packaging for bonsai (incomplete) 2023-05-18 01:31:06 +00:00
Colin 2da544a39e nixpkgs (flake input): 2023-05-06 -> 2023-05-14
```
• Updated input 'nixpkgs-unpatched':
    'github:nixos/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
  → 'github:nixos/nixpkgs/0470f36b02ef01d4f43c641bbf07020bcab71bf1' (2023-05-14)
```
2023-05-16 07:19:09 +00:00
Colin 3c2715648c moby: ship compressed kernel images
i've verified that .gz images boot. don't know about zImage, etc.
2023-05-12 06:49:59 +00:00
Colin 3bdbd9db7b `nixpkgs.hostPlatform`: set as default, to allow hosts to customize it later 2023-05-11 22:39:14 +00:00
Colin 852a3e7686 nixpkgs: 2023-04-25 -> 2023-05-06
```
• Updated input 'mobile-nixos':
    'github:nixos/mobile-nixos/4aa0afd84005b79be4d5361b56a60df9e9bd4ea3' (2023-04-03)
  → 'github:nixos/mobile-nixos/ba4638836e94a8f16d1d1f9e8c0530b86078029c' (2023-05-07)
• Updated input 'nixpkgs-unpatched':
    'github:nixos/nixpkgs/d0ea36ece469a71a909ebff90777c2f7a49478bb' (2023-04-25)
  → 'github:nixos/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/7c8e9727a2ecf9994d4a63d577ad5327e933b6a4' (2023-04-24)
  → 'github:Mic92/sops-nix/36b062a2c85a0efb37de1300c79c54602a094fab' (2023-05-08)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/ee7ec1c71adc47d2e3c2d5eb0d6b8fbbd42a8d1c' (2023-04-22)
  → 'github:NixOS/nixpkgs/ba0086c178d4ed60a7899f739caea553eca2e046' (2023-05-08)
```
2023-05-10 23:32:31 +00:00
Colin 57fcd33392 fix dangling reference to `feeds.[passthru.]update` 2023-05-03 06:48:38 +00:00
Colin 89f81da134 cleanup: move my packages to just one toplevel scope
having multiple scopes -- particularly near the toplevel -- was actually just a complication
2023-05-03 05:59:48 +00:00
Colin d617c0259f templates: add a pure `rust` package template 2023-04-26 07:41:08 +00:00
Colin 83e404f000 templates: categorize by pkgs v.s. env 2023-04-26 07:35:04 +00:00
Colin af394b315e add a flake template for rust binaries 2023-04-26 07:20:02 +00:00
Colin c9e55a586b flake: update nixpkgs 2023-04-16 -> 2023-04-19 (staging-next)
```
• Updated input 'nixpkgs-unpatched':
    'github:nixos/nixpkgs/f294325aed382b66c7a188482101b0f336d1d7db' (2023-04-16)
  → 'github:nixos/nixpkgs/bf5b2a67bccd55572834c40a3c1c92530ab55673' (2023-04-19)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/de6514f8fe1b3c2b57307569a0898bc4be9ae1c5' (2023-04-17)
  → 'github:Mic92/sops-nix/5698b06b0731a2c15ff8c2351644427f8ad33993' (2023-04-18)
```
2023-04-19 11:24:21 +00:00
Colin 2ff4df069e nix update: nixpkgs: 2023-04-13 -> 2023-04-16 (nixos-unstable)
```
• Updated input 'nixpkgs-unpatched':
    'github:nixos/nixpkgs/915c0fab841cc88045e00778b8e7fbdbdbd7d1aa' (2023-04-13)
  → 'github:nixos/nixpkgs/f294325aed382b66c7a188482101b0f336d1d7db' (2023-04-16)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/00d5fd73756d424de5263b92235563bc06f2c6e1' (2023-04-11)
  → 'github:Mic92/sops-nix/de6514f8fe1b3c2b57307569a0898bc4be9ae1c5' (2023-04-17)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/e45cc0138829ad86e7ff17a76acf2d05e781e30a' (2023-04-09)
  → 'github:NixOS/nixpkgs/1040ce5f652b586da95dfd80d48a745e107b9eac' (2023-04-16)
```
2023-04-18 21:40:17 +00:00
Colin 348bd0f177 flake: nit: rename deploy-moby-switch -> deploy-moby 2023-04-15 06:56:24 +00:00
Colin e7edafcfec nix update nixpkgs 2023-04-02 -> 2023-04-08; mobile-nixos; uninsane-dot-org
```
• Updated input 'mobile-nixos':
    'github:nixos/mobile-nixos/7a6e97e3af73c4cca87e12c83abcb4913dac7dbc' (2023-03-22)
  → 'github:nixos/mobile-nixos/4aa0afd84005b79be4d5361b56a60df9e9bd4ea3' (2023-04-03)
• Updated input 'nixpkgs-unpatched':
    'github:nixos/nixpkgs/66f60deb8aa348ca81d60d0639ae420c667ff92a' (2023-04-02)
  → 'github:nixos/nixpkgs/df6db8c5b0b94b85e578d05b37e5bf3b24555638' (2023-04-08)
• Updated input 'uninsane-dot-org':
    'git+https://git.uninsane.org/colin/uninsane?ref=refs%2fheads%2fmaster&rev=068f176a64f0e26dc8c1f0eccf28cbd05be4909b' (2023-03-29)
  → 'git+https://git.uninsane.org/colin/uninsane?ref=refs%2fheads%2fmaster&rev=2970c6080187975a1fc996f541167e697d4ebebc' (2023-04-03)
```
2023-04-12 00:08:50 +00:00
Colin 00af6104be flake: pass CLI arguments into nixos-rebuild when running `deploy-moby-X` 2023-04-07 22:55:47 +00:00
Colin f085c1d691 overlays/disable-flakey-tests.nix: significantly reduce how much we patch nixpkgs
this means we can grab from upstream caches more
2023-04-04 23:31:50 +00:00
Colin 5c17de6e83 Merge branch 'staging/nixpkgs-next-2023-03-28' 2023-03-31 13:05:04 +00:00
Colin b1e9d8db80 nix flake update: nixpkgs f027fe965cc2 -> fc47fa33a3ac; sops-nix 2023-03-31 05:53:20 +00:00
Colin 4e8ca1a30d flake: document how to update specific flake inputs 2023-03-29 12:04:43 +00:00
Colin e90a8b7b6e nix flake update: `nixpkgs` 2023-03-09 (nixos-unstable) -> 2023-03-28 (staging); others
this will break moby; will work to re-enable

```
• Updated input 'mobile-nixos':
    'github:nixos/mobile-nixos/9a0c317a027d1c085c641fe6df1f51b71880b720' (2023-03-03)
  → 'github:nixos/mobile-nixos/7a6e97e3af73c4cca87e12c83abcb4913dac7dbc' (2023-03-22)
• Updated input 'nixpkgs-unpatched':
    'github:nixos/nixpkgs/1e2590679d0ed2cee2736e8b80373178d085d263' (2023-03-09)
  → 'github:nixos/nixpkgs/f027fe965cc27f258e9f7ffd3d0cec011e51a41c' (2023-03-28)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/1568702de0d2488c1e77011a9044de7fadec80c4' (2023-03-10)
  → 'github:Mic92/sops-nix/4740f80ca6e756915aaaa0a9c5fbb61ba09cc145' (2023-03-26)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/d51554151a91cd4543a7620843cc378e3cbc767e' (2023-03-04)
  → 'github:NixOS/nixpkgs/da26ae9f6ce2c9ab380c0f394488892616fc5a6a' (2023-03-25)
```
2023-03-28 09:17:56 +00:00
Colin f6d3c102fa flake: fix so `nix flake check` passes 2023-03-11 10:01:25 +00:00
Colin a56b31cdac get moby packages to selectively use ccache
this is a liiittle bit weird: we might want to just apply it to
everything.
2023-03-05 09:25:03 +00:00
Colin df9716e244 WIP: try to get moby builds to use ccache, god damnit 2023-03-05 07:20:38 +00:00
Colin 3ed8e0cb44 FIX nix-serve: migrate to a package built against older `nix` 2023-03-03 01:48:04 +00:00
Colin 0625eb1bf8 flake: add "applications" to deploy to moby 2023-03-02 07:49:29 +00:00
Colin dfebedbd6c flake: make separate `cross` and `emulated` package sets (so i can build non-cross systems again) 2023-03-01 23:33:32 +00:00
Colin 3caa072d00 flake: fix the unstable hashing by `import`ing the nixpatches flake instead of specifying it as input 2023-03-01 13:01:41 +00:00
Colin 15755a8a71 WIP: reduce emulated cross pkgset; aborted x86-x86 cross compilation 2023-02-21 01:25:42 +00:00
Colin 5715795d1f WIP: moby-cross: is cross-by-default instead of opt-in 2023-02-21 01:19:00 +00:00
Colin e0a6f8ea4a flake: add `host-pkgs.<host>.<pkg>` output
this builds packages precisely as they are defined by the given host.
significant for testing whether a cross-compiled host builds things
correctly, for example.
2023-02-05 19:34:32 +00:00
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