Commit Graph

402 Commits

Author SHA1 Message Date
8db30b5de9 servo: enlarge the /tmp tmpfs so we can build large nix packages 2022-06-30 00:17:05 -07:00
948d169b33 image: don't populate the /persist directories. these are mostly done on boot. 2022-06-30 00:07:46 -07:00
313d698b97 impermanence: set perms for all these files 2022-06-29 03:58:27 -07:00
1f3c93623f desko: enable snapper for testing 2022-06-29 03:58:11 -07:00
634e5a8c71 servo: use a swap partition instead of a swapfile 2022-06-29 03:29:45 -07:00
92488dd890 complete servo image & port to impermanence
there might still be some bugs to work out here.
this produces a workable image, but with some uncertainty
around that swapfile (the first attempt had /swapfile living on a
tmpfs).
2022-06-29 01:17:53 -07:00
ba69812720 packages: add gnome-feeds RSS viewer 2022-06-29 01:16:11 -07:00
af8e11242d fix up the rpi-specialized u-boot to actually work when deployed
notably: ship the *correct* rpi-4-b.dtb file alongside u-boot.
2022-06-29 01:14:46 -07:00
0aa0334465 new bootpart for u-boot rpi
this needs some tweaking: it doesn't package the right dtb file.
it packages the dtb for the linux kernels, whereas we want dtbs to be
consumed by u-boot.
2022-06-28 21:10:50 -07:00
fd48880a0a nixcache: only enable on moby
it's annoying to rebuild on desko/lappy, and have that fail when servo
is offline/unreachable.
and it's really silly to have servo use its own cache *over the
network*.

long-term would be better to do properly distributed builds instead of
the cache.
2022-06-28 03:44:10 -07:00
9cce427ea4 WIP: add tow-boot files to servo image
i think this breaks the build -- will debug.
2022-06-27 17:11:27 -07:00
08f62152ff update nixpkgs, mobile-nixos, home-manager, sops-nix, nurpkgs
- nixpkgs: 2022-06-23 -> 2022-06-26
- home-manager: 2022-06-22 -> 2022-06-25
- mobile-nixos: 2022-06-03 -> 2022-06-27
- nurpkgs: 2022-06-24 -> 2022-06-27
- sops-nix: 2022-06-20 -> 2022-06-26
2022-06-27 01:34:04 -07:00
d0ff605f19 lappy: setup snapper (automated btrfs snapshots) 2022-06-27 01:28:17 -07:00
42ddd90796 impermanence: persist ~/use 2022-06-26 04:22:57 -07:00
075969540a uninsane.org: force SSL to avoid CORS problems 2022-06-26 04:20:33 -07:00
d7d9c0b9ba cleanup TODO, readme 2022-06-26 03:44:41 -07:00
57886ec3d0 servo: add ipfs service 2022-06-26 03:44:41 -07:00
fd567f8c09 fix secrets file for vpn 2022-06-25 23:04:32 -07:00
ae55ddb5a7 impermanence: cache discord creds 2022-06-25 22:11:16 -07:00
a011abc7ef add desko /var/lib entries to impermanence 2022-06-25 21:18:02 -07:00
75a3e77e77 packages: add nethogs for monitoring bandwidth 2022-06-25 19:50:38 -07:00
d3fa6a31f9 decrease transmission upload bandwidth
i think it's messing with other services (like ipfs) :|
2022-06-25 19:49:48 -07:00
fdcbaae776 servo: firewall: open ipfs ports 2022-06-25 17:51:46 -07:00
7027ea099c packages: ship ipfs 2022-06-25 17:51:24 -07:00
26a756f6a4 impermanence: don't preserve /mnt
directories which are mentioned in `config.fileSystems` automatically
get directories created in /mnt
2022-06-25 15:37:12 -07:00
8c1149b21b impermanence: preserve spotify config 2022-06-24 21:15:58 -07:00
436ade540f tune /var/lib impermanence (for lappy) 2022-06-24 21:10:49 -07:00
18864b2c6f update nixpkgs 2022-06-22 -> 2022-06-23 2022-06-24 16:20:16 -07:00
2e8eaab536 flake.nix: document the image building/flashing process
i wish i could fixup the perms automatically,
but `chown root:root` during the image building doesn't seem to work
reliably. hmm.
2022-06-24 16:04:25 -07:00
3ecdcdfaaf add nvme kernel module to x86_64.
this enables the initrd to boot on desko
2022-06-24 03:25:02 -07:00
c39d0d1667 rebuild desko and flash it
haven't booted into it yet (we'll see!)
2022-06-24 02:07:40 -07:00
37a7f19ecb fix bootpart-uefi-x86_64 to allow selecting old nixos generations at boot 2022-06-24 01:35:52 -07:00
84e57ec3d8 lappy: add a dedicated /tmp fs 2022-06-24 01:02:26 -07:00
17d2029ba2 image: make the gpt headerHole configurable 2022-06-24 00:53:43 -07:00
2e7795a938 add a package which could be used to install tow-boot onto a rpi4 (or rpi3) 2022-06-24 00:50:00 -07:00
d38f17207b remove extlinux bootloader wrapper: use colinsane.extraBootFiles 2022-06-24 00:10:07 -07:00
065d139cbc add a package which populates a /boot dir with everything needed to read extlinux.conf on x86
this will replace our weird generic-extlinux-compatible wrapper in
future patches.
2022-06-23 23:43:38 -07:00
d1aa9d190e expose packages to the toplevel flake
this lets us build custom packages, separately from the entire system.

i also change the overlay slightly, just because it doesn't make sense
to induce the recursive case or relying on `next` when not necessary.
2022-06-23 23:26:51 -07:00
0780b2f04c tow-boot-rpi4: fix hash 2022-06-23 23:26:27 -07:00
e7f05fa2ec */fs.nix: remove extraneous mkDefaults
these are no longer needed with the new image builder.
2022-06-23 21:21:01 -07:00
66534fed25 pkgs: add tow-boot-rpi4
NB: haven't tested the build
2022-06-23 21:17:47 -07:00
bf6ac1b7ae moby: enable boot.loader.generic-extlinux-compatible.enable 2022-06-23 19:56:40 -07:00
4ea5b6244f pkgs/overlay: fix extra pkgs/ ref 2022-06-23 19:04:45 -07:00
b244e8e845 moby: properly flash firmware as part of the image build 2022-06-23 19:01:04 -07:00
7bf962942e kaiteki: update hash 2022-06-23 17:47:01 -07:00
0edf62a31f extlinux-builder: handle the case that /boot/EFI/BOOT is not empty 2022-06-23 17:46:41 -07:00
69cad1ca55 update nixpkgs 2022-06-20 -> 2022-06-22; nurpkgs 2022-06-22 -> 2022-06-23 2022-06-23 16:29:19 -07:00
187c2f2406 lappy: switch back to the existing fs uuids 2022-06-23 16:28:12 -07:00
ac050ac390 move the canTouchEfiVars into the right place 2022-06-23 16:26:46 -07:00
c6f2eaca45 extlinux-builder: respect target directory CLI arg 2022-06-23 16:24:39 -07:00