nix configuration for uninsane.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
colin 0648825765 moby: update kernel 6.0.0-rc4 -> 6.0.0 (release) 1 day ago
helpers port helpers/home-manager-gen-colin.nix to modules system 4 months ago
machines moby: fix up CMA allocations so fractal (gui app) works 2 days ago
modules env: add packages for tagging mp3s 4 days ago
nixpatches update nixpkgs: 2022-09-30 -> 2022-10-02 2 days ago
pkgs moby: update kernel 6.0.0-rc4 -> 6.0.0 (release) 1 day ago
scripts net: switch to iwd for better experience 7 days ago
secrets net: rename encrypted .psk files -> .psk.bin 7 days ago
.gitignore move secrets to a subdirectory, for improved overrides 4 months ago
.sops.yaml secrets: update `moby` keys 1 month ago
TODO.md moby: cross-compile the kernel 2 months ago
flake.lock update nixpkgs: 2022-09-30 -> 2022-10-02 2 days ago
flake.nix update nixpkgs: 2022-09-30 -> 2022-10-02 2 days ago
readme.md readme: document how to build custom sane packages 2 weeks ago

readme.md

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