top-level configurations for all my NixOS machines
Go to file
colin c18e8eddcc zsh: enable zmb builtin 2022-10-08 20:12:50 -07:00
helpers port helpers/home-manager-gen-colin.nix to modules system 2022-06-09 14:50:24 -07:00
machines servo: matrix: enable mx-puppet-discord for better Discord bridging 2022-10-07 04:33:23 -07:00
modules zsh: enable zmb builtin 2022-10-08 20:12:50 -07:00
nixpatches update nixpkgs: 2022-10-06 and rebase Kaiteki 2022-10-08 18:21:38 -07:00
pkgs update nixpkgs: 2022-10-06 and rebase Kaiteki 2022-10-08 18:21:38 -07:00
scripts add script to initialize the gnome keyring 2022-10-06 17:21:59 -07:00
secrets net: add psk for connecting to my mobile hotspot 2022-10-08 19:24:55 -07:00
.gitignore move secrets to a subdirectory, for improved overrides 2022-05-26 23:52:08 -07:00
.sops.yaml servo: matrix-appservice-discord: hide keys in sops, and enable. 2022-10-05 22:38:20 -07:00
TODO.md moby: cross-compile the kernel 2022-08-08 20:36:35 -07:00
flake.lock update nixpkgs: 2022-10-06 and rebase Kaiteki 2022-10-08 18:21:38 -07:00
flake.nix update nixpkgs: 2022-09-30 -> 2022-10-02 2022-10-03 13:49:01 -07:00
readme.md readme: document how to build custom sane packages 2022-09-22 17:44:57 -07:00

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