top-level configurations for all my NixOS machines
Go to file
colin 7a7e4c9df7 update flake: nixpkgs 2022-08-10 -> 2022-08-11
hoping there's a Discord update in here :-)

```
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e4c9d950a3c54a0760b127d406f6528eb625eed8' (2022-08-10)
  → 'github:NixOS/nixpkgs/45c9736ed69800a6ff2164fb4538c9e40dad25d6' (2022-08-11)
```
2022-08-11 15:36:40 -07:00
helpers port helpers/home-manager-gen-colin.nix to modules system 2022-06-09 14:50:24 -07:00
machines moby: use megous linux kernel 2022-08-09 18:01:48 -07:00
modules pkgs: add emote emoji picker 2022-08-10 16:47:39 -07:00
nixpatches nixpatches: remove dead jackett, Discord patches 2022-08-01 13:30:47 -07:00
pkgs pkg megi's kernel 2022-08-09 14:39:42 -07:00
secrets sublime: disable song notifications 2022-08-09 23:12:51 -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 flake: nixpkgs 2022-08-10 -> 2022-08-11 2022-08-11 15:36:40 -07:00
flake.nix image building instructions: no need to manually create /persist dirs anymore 2022-08-02 17:10:32 -07:00
readme.md cleanup TODO, readme 2022-06-26 03:44:41 -07:00
TODO.md moby: cross-compile the kernel 2022-08-08 20:36:35 -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.