top-level configurations for all my NixOS machines
Go to file
2022-07-24 13:18:34 -07:00
helpers port helpers/home-manager-gen-colin.nix to modules system 2022-06-09 14:50:24 -07:00
machines desko: add steam 2022-07-16 03:10:57 -07:00
modules add nb personal knowledge manager, and its optional dep: w3m 2022-07-23 02:00:38 -07:00
nixpatches pkgs: ship zecwallet-lite as a patch instead of a custom pkg 2022-07-10 02:57:40 -07:00
pkgs pkgs: ship zecwallet-lite as a patch instead of a custom pkg 2022-07-10 02:57:40 -07:00
secrets vpn: rename ovpnd -> ovpnd-us 2022-07-09 00:52:05 -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 sops-nix 2022-07-24 13:18:34 -07:00
flake.nix Merge branch 'master' of git.uninsane.org:colin/nix-files 2022-07-14 16:24:02 -07:00
readme.md cleanup TODO, readme 2022-06-26 03:44:41 -07:00
TODO.md add TODO: remove some dangling hardcoded uid numbers 2022-07-15 01:01:41 -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.