Commit Graph

39 Commits

Author SHA1 Message Date
Colin 91d8b95459 move secrets to a subdirectory, for improved overrides 2022-05-26 23:52:08 -07:00
colin 188ce582ee flake: cleanup old mobile-pkgs attempts 2022-05-24 23:12:17 -07:00
colin 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
colin 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
colin 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
colin 65276e71c7 moby: simplify machine declaration 2022-05-24 00:53:13 -07:00
colin 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
colin 2d03f0d647 env: add electrum, metamask 2022-05-23 22:50:50 -07:00
colin 390bf09c8a moby: abandon the flake fork of mobile-nixos and compile against tip instead 2022-05-23 22:47:32 -07:00
colin 743eaec331 env: add whalebird Pleroma client 2022-05-23 20:45:33 -07:00
colin 462c68c2ff set hostname per machine 2022-05-23 20:20:05 -07:00
colin b4ab1d332b flake: simplify the machine declartion helpers 2022-05-23 17:15:38 -07:00
colin 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
colin d75bc02c94 rename `pda` machine to `moby` 2022-05-22 17:24:16 -07:00
colin 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
colin ada574e8a8 flake: simplify machine generation 2022-05-22 15:11:08 -07:00
colin efa3ad6abd flake.nix: simplify nixosConfigurations and imgs population 2022-05-22 15:06:27 -07:00
colin f53e7e6acf flake: factor out some machine helpers
new structure is `imgs.<foo>` to build a disk image
2022-05-22 14:40:29 -07:00
colin 1f0e62cff6 flake: use `inherit` where possible 2022-05-22 13:36:30 -07:00
colin 95ca542199 flake: simplify decl-img 2022-05-22 13:35:04 -07:00
colin cb9308e17b add the NixOS User Repository, and source some firefox extensions from it 2022-05-22 04:03:30 -07:00
colin 454e65b027 add img targets for desko and uninsane machines 2022-05-22 02:57:05 -07:00
colin c5e0310229 pda: switch nixpkgs for mobile-nixos
the old one doesn't work. not sure if this one does or not
2022-05-22 02:55:36 -07:00
colin 33d2666a03 convert lappy-gpt to use a helper which we'll be able to replicate for other machines 2022-05-22 01:38:19 -07:00
colin e0b0fe065b move all machines into a subdirectory 2022-05-22 01:29:56 -07:00
colin 8f903d5214 create a machine for my desktop
it's a clone of lappy, except with different fs uuids.

i'll work to fold some of these in a bit.
2022-05-22 01:27:02 -07:00
colin 0557a2b700 document how to use the lappy-gpt target 2022-05-22 01:23:54 -07:00
colin 06b23e92f9 lappy-gpt: inline nixos-generate logic for better boot consistency
this image boots!
2022-05-21 22:00:38 -07:00
colin bd3bf6d108 add a #lappy-gpt target which builds a flat, flashable image.
the root part is ext4 instead of btrfs. nixos-generators doesn't support
btrfs. the underlying machinery does though, so we can remove the
middleman in a future patch to achieve that.
2022-05-21 18:05:32 -07:00
colin fc3b40d434 factor out a decl-machine helper 2022-05-21 00:40:56 -07:00
colin f5d313c0ea factor out the uninsane machine a bit better 2022-05-21 00:30:29 -07:00
colin 298e7bc8ec lift pkg patching out of the toplevel machine definitions 2022-05-21 00:23:29 -07:00
colin e252f8623c lappy: lift the `x86_64-linux` wrangling out of the modules 2022-05-21 00:18:17 -07:00
colin b31972444e lappy: move more stuff to the toplevel lappy/default.nix 2022-05-21 00:15:33 -07:00
colin 13b957dbfa document some mobile-pkgs commits 2022-05-20 23:53:44 -07:00
colin 0877570947 add (experimental) pinephone/pda target
this requires cross compilation (particularly of the kernel), which is a bit too slow on this machine
to test since it uses qemu.

i can maybe switch to an older nixpkgs for the pda build which has the
kernel cached... or migrate my desktop to nixos and build the pinephone
image there :-)
2022-05-20 21:18:04 -07:00
colin 0457ae40fe migrate my nixos laptop to this flake 2022-05-20 21:14:19 -07:00
Colin 55b3b6ad46 port to a flake
built and switched. will try reboot.
2022-05-21 01:59:51 +00:00
Colin 8ec94691fa experimental flake support 2022-05-21 00:07:49 +00:00