top-level configurations for all my NixOS machines
this requires cross compilation (particularly of the kernel), which is a bit too slow on this machine to test since it uses qemu. i can maybe switch to an older nixpkgs for the pda build which has the kernel cached... or migrate my desktop to nixos and build the pinephone image there :-) |
||
---|---|---|
cfg | ||
lappy | ||
modules | ||
pkgs | ||
secrets | ||
.gitignore | ||
configuration.nix | ||
flake.lock | ||
flake.nix | ||
readme.md |
after checking out, drop secrets into secrets/
to build:
nixos-rebuild --flake "/etc/nixos/#uninsane" {build,switch}
query with:
nix flake show
secrets
change files in secrets/. they need to be checked into git with some placeholder text for them to be exposed to the flake,
but after that you can set them to their real value and run git update-index --assume-unchanged secrets/*