top-level configurations for all my NixOS machines
Go to file
colin 57ada6af4f tokodon: fix segfault on launch
also persist the ~/.cache/KDE/tokodon directory.
since the login form isn't working yet (partially the fault of my
Pleroma install?), i can't tell if this is where tokens are stashed or
not.
2022-11-04 06:52:18 -07:00
machines add mercurial to dev packages 2022-11-01 22:20:05 -07:00
modules tokodon: fix segfault on launch 2022-11-04 06:52:18 -07:00
nixpatches moby: move lightdm-mobile-greeter stuff into nixpkgs 2022-11-02 04:14:00 -07:00
pkgs tokodon: fix segfault on launch 2022-11-04 06:52:18 -07:00
scripts commit ensure-perms script for image post-processing 2022-10-21 02:04:30 -07:00
secrets moby: change password 2022-10-24 08:33:51 -07:00
.gitignore move secrets to a subdirectory, for improved overrides 2022-05-26 23:52:08 -07:00
.sops.yaml moby: enable a statically-assigned but encrypted password 2022-10-24 07:39:50 -07:00
flake.lock flake update: nixpkgs 2022-10-31 -> 2022-11-02, home-manager, sops, mobile-nixos 2022-11-03 17:31:47 -07:00
flake.nix remove unused rycee flake input 2022-11-01 16:07:57 -07:00
readme.md readme: document how to build nixpkgs and cross packages 2022-10-15 01:28:30 -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.

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