top-level configurations for all my NixOS machines
Go to file
colin ce5431591c patch Firefox so that we can properly set the default search engine
i'll probably (partially) revert this and switch to librewolf instead.
Firefox takes about 1hr to build.
2022-07-01 01:05:40 -07:00
helpers port helpers/home-manager-gen-colin.nix to modules system 2022-06-09 14:50:24 -07:00
machines servo: enlarge the /tmp tmpfs so we can build large nix packages 2022-06-30 00:17:05 -07:00
modules patch Firefox so that we can properly set the default search engine 2022-07-01 01:05:40 -07:00
nixpatches move patch list out of flake.nix 2022-06-23 16:03:58 -07:00
pkgs patch Firefox so that we can properly set the default search engine 2022-07-01 01:05:40 -07:00
secrets remove himalaya: we're using aerc now 2022-06-21 02:02:04 -07:00
.gitignore move secrets to a subdirectory, for improved overrides 2022-05-26 23:52:08 -07:00
.sops.yaml add aerc accounts.conf to secret store (and home-manager) 2022-06-20 23:55:43 -07:00
flake.lock update nixpkgs, nurpkgs, sops-nix 2022-06-30 15:30:35 -07:00
flake.nix flake.nix: document the image building/flashing process 2022-06-24 16:04:25 -07:00
readme.md cleanup TODO, readme 2022-06-26 03:44:41 -07:00
TODO.md reminder to configure default XDG apps (e.g. web browser) 2022-06-30 20:45:58 -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.