My configuration. Probably nothing to look for here.
Go to file
Motiejus Jakštys f952b637d5 Revert "orangepi5+: skip perf only in sdImage"
This reverts commit 7315cbaaac.

    builder for '/nix/store/863lc3ir4ahpxzq6bcjv940xzkbbc04m-perf-linux-aarch64-unknown-linux-gnu-6.8.0.drv' failed with exit code 2;
    last 10 log lines:
    >   149 | #if defined(LIBTRACEEVENT_VERSION) &&  LIBTRACEEVENT_VERSION >= MAKE_LIBTRACEEVENT_VERSION(1, 5, 0)
    >       |                                                              ^~
    > error: command '/nix/store/ffi9k9y0w3sydgp2nk3q1pk0qq02rkb0-aarch64-unknown-linux-gnu-gcc-wrapper-12.3.0/bin/aarch64-unknown-linux-gnu-cc' failed wit>
    >   LD      /build/source/tools/perf/libbpf/staticobjs/libbpf-in.o
    > cp: cannot stat 'python_ext_build/lib/perf*.so': No such file or directory
    > make[2]: *** [Makefile.perf:678: python/perf.cpython-311-aarch64-linux-gnu.so] Error 1
    > make[2]: *** Waiting for unfinished jobs....
    >   LINK    /build/source/tools/perf/libbpf/libbpf.a
    > make[1]: *** [Makefile.perf:261: sub-make] Error 2
    > make: *** [Makefile:70: all] Error 2
2024-03-13 22:29:08 +02:00
hacks/orangepi5plus/uboot uboot: removeuse bl31 from tfa 2024-03-08 14:29:41 +02:00
hosts Revert "orangepi5+: skip perf only in sdImage" 2024-03-13 22:29:08 +02:00
modules re-add btrfs 2024-03-13 16:19:00 +02:00
pkgs turbo: install from unstable 2024-03-13 13:56:38 +02:00
secrets rekey 2024-03-08 19:59:48 +02:00
shared Revert "orangepi5+: skip perf only in sdImage" 2024-03-13 22:29:08 +02:00
.envrc direnv: bump to 3.0.4 2024-03-10 17:20:09 +02:00
.gitattributes Configure git repository for gpg file diff. 2023-01-03 13:41:30 +02:00
.gitignore enable some checks in pre-commit hooks 2023-10-02 00:00:30 +03:00
data.nix vno1-op5p: add jakstIP 2024-03-10 16:17:01 +02:00
flake.lock turbo: install from unstable 2024-03-13 13:56:38 +02:00
flake.nix mtwork: add concurrently 2024-03-13 14:12:44 +02:00
LICENSE relicense 2024-01-15 18:18:45 +02:00
README.md remove mtwork 2024-02-27 18:20:44 +02:00
secrets.nix vno1-op5p: start with secrets 2024-03-08 17:20:04 +00:00
statix.toml compress-drv-tests 2024-02-29 13:45:11 +02:00

Config

Flakes:

$ deploy --interactive '#vno1-oh2'

$ nix build .#deploy.nodes.fra1-a.profiles.system.path

Other:

$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
$ nix eval .#nixosConfigurations.vno1-oh2.config.services.nsd

Encoding host-only secrets

Encode a secret on host:

rage -e -r "$(cat /etc/ssh/ssh_host_ed25519_key.pub)" -o secret.age /path/to/plaintext

Decode a secret on host (to test things out):

rage -d -i /etc/ssh/ssh_host_ed25519_key secret.age