Commit Graph

73 Commits

Author SHA1 Message Date
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
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
a299f111a4 move patch list out of flake.nix 2022-06-23 16:03:58 -07:00
fe51bb9ab4 flake: remove extraneous toplevel items from outputs 2022-06-23 15:57:20 -07:00
f7da8e2218 flake: simplify decl-bootable-machine 2022-06-23 15:53:35 -07:00
5fe65a1c52 flake: remove unused parameters 2022-06-23 15:49:59 -07:00
6801e934af move the custom packages overlay into pkgs/overlay.nix 2022-06-23 15:47:35 -07:00
f0857181c0 decrease the moby-specific stuff in flake.nix 2022-06-23 15:42:20 -07:00
835036fc6a make image.nix a first-class module 2022-06-23 15:31:19 -07:00
d80bd7d162 inline image building, and (for lappy) use a generic-extlinux-compatible bootloader
the generic bootloader will allow more code-sharing with rpi and
pinephone. desko should soon use the generic bootloader as well.

problems: lappy can't boot from USB stick. it makes it to the initrd,
but there's no dev nodes for the USB drive.
unsure if this is how it was before, too.
2022-06-23 00:24:39 -07:00
fa131fe39f lappy: enable impermanence
it mostly went smooth, though i lost a .ssh key.
probably the best upgrade process is to do most of the heavy work in the
initrd:

write the new nix config, notably, configuring a tmpfs / mount
and moving the previous / to /nix.
then boot and in the initrd, move all the `/nix/nix/...` items
up a level.
2022-06-20 03:28:01 -07:00
e6a88b41b2 replace whalebird patch with upstream patch 2022-06-19 16:15:07 -07:00
a9d167cf14 remove configuration.nix
it's no longer needed in nixos-22.05
2022-06-14 02:48:22 -07:00
2b8ff8d5ae rename 'uninsane' machine -> 'servo' 2022-06-12 15:11:41 -07:00
c11f565226 create a package to hold useful system scripts 2022-06-11 17:40:15 -07:00
86a15aaa83 update install instructions 2022-06-10 00:20:38 -07:00
492506ab01 remove the last remnants of the old secrets system.
using SOPS exclusively now
2022-06-08 17:07:48 -07:00
a313f61351 duplicity: migrate secrets to sops 2022-06-07 02:33:11 -07:00
d28738eb0e gui/sway: port to module system 2022-06-06 17:35:28 -07:00
1c16348724 secrets: add an example sops secret 2022-06-06 16:39:27 -07:00
6eff3e8f11 nixpatches: fold the whalebird stuff together to match github PR 2022-06-05 21:25:58 -07:00
7de4160121 remove phosh patch and use upstream diff 2022-06-05 21:19:03 -07:00
9f6eb846f9 whalebird: upstream 2022-06-05 14:53:57 -07:00
0a69b13424 try to add Kaiteki as a package
requires updating dart (flutter), which is causing problems...
2022-06-05 04:02:59 -07:00
d291908d1b port whalebird to aarch64 (untested)
built on x86-64; not yet built on aarch64
2022-06-04 02:05:20 -07:00
994c713efb update whalebird 4.5.4 -> 4.6.0 2022-06-03 20:39:06 -07:00
87637bb1a2 home manager: update 21.11 -> 22.05
this is necessary for sway to build
2022-06-03 01:40:32 -07:00
a7259279bb port raspberry pi bootloader fixes to a nixpkgs patch 2022-06-02 14:18:41 -07:00
766460164f remove pkgs-mobile: run moby off the same packages as my other system 2022-06-01 17:48:37 -07:00
e9d6a1458a phoc: simplify the config by patching nixpkgs 2022-06-01 12:36:36 -07:00
4d970f5bf5 remove nixpkgs-unstable from inputs
we don't need it. the one package it was being used for is identical
in nixpkgs stable
2022-05-31 22:41:41 -07:00
221fb05579 remove whalebird specialization
22.05 edition of whalebird compiles fine OOTB
2022-05-31 17:57:16 -07:00
18415799b7 remove gitea unstable: we're running a compatible version in nixos-22.05 now
gitea registration flow tested: it still redirects registration emails to my own email
2022-05-31 17:49:01 -07:00
7ae8526771 update nixos-21.11 -> nixos-22.05 2022-05-28 12:40:35 -07:00
91d8b95459 move secrets to a subdirectory, for improved overrides 2022-05-26 23:52:08 -07:00
188ce582ee flake: cleanup old mobile-pkgs attempts 2022-05-24 23:12:17 -07:00
c95485589a moby: upgrade pkgs from 2022/03/30 -> 2022/05/20
this upstreams the manual phosh tweaks i had previously applied.
2022-05-24 20:58:45 -07:00
f8cf676df4 uninsane: add a hurricane electric ddns service
also adds some basic secrets management. i can make this more robust in time.
2022-05-24 17:24:11 -07:00
e8cc71b03e moby: update pkgs-mobile to 2022/03/30
i was using something from like 2021/06/...

it's not new enough to have upstream support for phosh,
so i still need the wrapper. i think such an update is blocked on the
mobile-nixos project.
2022-05-24 02:47:04 -07:00
65276e71c7 moby: simplify machine declaration 2022-05-24 00:53:13 -07:00
21a5881214 replace toplevel pkgs = ... directive with overlays to satisfy mobile-nixos
mobile-nixos doesn't like us using that directive. making this an
overlay will let me be more consistent and get code reuse.
2022-05-24 00:45:55 -07:00
2d03f0d647 env: add electrum, metamask 2022-05-23 22:50:50 -07:00
390bf09c8a moby: abandon the flake fork of mobile-nixos and compile against tip instead 2022-05-23 22:47:32 -07:00
743eaec331 env: add whalebird Pleroma client 2022-05-23 20:45:33 -07:00
462c68c2ff set hostname per machine 2022-05-23 20:20:05 -07:00
b4ab1d332b flake: simplify the machine declartion helpers 2022-05-23 17:15:38 -07:00
2603dc590d moby: populate from lappy config (gnome, firefox, etc)
it's not the best: probably want to replace with phosh
2022-05-22 19:45:54 -07:00
d75bc02c94 rename pda machine to moby 2022-05-22 17:24:16 -07:00
aa979704c1 machines: pda: working image generation!
this builds the minimal pine64-pinephone .img,
which is about 1 GB and has no gui beyond the
login prompt, which is inaccessible becuse usb drivers
(for a keyboard) don't seem to be configured >_<
2022-05-22 17:22:55 -07:00
ada574e8a8 flake: simplify machine generation 2022-05-22 15:11:08 -07:00