top-level configurations for all my NixOS machines
Go to file
colin 05cb85fd9b freshrss: import my feeds on start
it's a little clunky in that it seems to need some refreshes
before it gets them, but it works.
2022-10-15 01:41:53 -07:00
helpers port helpers/home-manager-gen-colin.nix to modules system 2022-06-09 14:50:24 -07:00
machines freshrss: import my feeds on start 2022-10-15 01:41:53 -07:00
modules feeds: refactor 2022-10-14 22:37:02 -07:00
nixpatches nautilus: patch gtk4 settings schema bug via upstream PR 2022-10-14 07:10:35 -07:00
pkgs flake update: nixpkgs 2022-10-09 -> 2022-10-13, others 2022-10-13 21:41:02 -07:00
scripts net: hex-encode the home network names. 2022-10-07 20:39:26 -07:00
secrets servo: add freshrss service 2022-10-13 17:52:43 -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 publish latest uninsane blog (nixos upstreaming) 2022-10-14 08:04:41 -07:00
flake.nix flake update: nixpkgs 2022-10-09 -> 2022-10-13, others 2022-10-13 21:41:02 -07:00
readme.md readme: document how to build nixpkgs and cross packages 2022-10-15 01:28:30 -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

to build a nixpkg:

nix build ./#nixpkgs.curl

to build a package for another platform:

nix build ./#packages.aarch64-linux.nixpkgs.ubootRaspberryPi4_64bit