top-level configurations for all my NixOS machines
Go to file
colin 8847147a9d Revert "electrum: fix build using upstream patch instead of own"
the proposed fix doesn't work on x86_64

This reverts commit 5058694c5b.
2022-10-03 01:01:39 -07:00
helpers port helpers/home-manager-gen-colin.nix to modules system 2022-06-09 14:50:24 -07:00
machines moby: remove some dead/commented-out code 2022-10-02 20:43:52 -07:00
modules env: add packages for tagging mp3s 2022-10-02 01:25:31 -07:00
nixpatches Revert "electrum: fix build using upstream patch instead of own" 2022-10-03 01:01:39 -07:00
pkgs pkg: sane-mount-servo: comment/note a fix about a bug i saw in this script 2022-10-02 01:26:50 -07:00
scripts net: switch to iwd for better experience 2022-09-29 06:08:33 -07:00
secrets net: rename encrypted .psk files -> .psk.bin 2022-09-29 06:12:51 -07:00
.gitignore move secrets to a subdirectory, for improved overrides 2022-05-26 23:52:08 -07:00
.sops.yaml secrets: update moby keys 2022-08-31 17:01:41 -07:00
flake.lock update nixpkgs: 2022-09-28 -> 2022-09-30 2022-10-02 01:20:50 -07:00
flake.nix switch to nixos-unstable. some notes: 2022-09-20 22:31:47 -07:00
readme.md readme: document how to build custom sane packages 2022-09-22 17:44:57 -07:00
TODO.md moby: cross-compile the kernel 2022-08-08 20:36:35 -07:00

to deploy:

nixos-rebuild --flake "./#servo" {build,switch}

more options (like building packages defined in this repo):

nix flake show

secrets

i use sops for secrets. see modules/universal/secrets.nix for some tips.

building images

to build a distributable image (GPT-formatted image with rootfs and /boot partition):

nix build ./#imgs.lappy

this can then be dd'd onto a disk and directly booted from a EFI system. there's some post-processing to do before running a rebuild on the deployed system (deploying ssh keys, optionally changing fs UUIDs, etc). refer to flake.nix for more details.

building packages

to build one of the custom sane packages, just name it:

nix build ./#fluffychat-moby