drop lantian attic cache (compromised)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-19 09:36:50 +01:00
parent 8dab56de4f
commit 89c0205fe2
3 changed files with 10 additions and 20 deletions

View file

@ -52,14 +52,11 @@ let
Type = "oneshot";
StateDirectory = "prebuild";
};
# Gaming's kernel comes from lantian's attic (see hosts/hardware/
# FredOS-Gaming.nix). That substituter isn't configured on this host, so
# without it the cachyos kernel gets built from source here instead of
# fetched — hours, not minutes. Harmless for the Macbook.
# Gaming's cachyos kernel has no binary cache any more (see hosts/
# hardware/FredOS-Gaming.nix), so a kernel bump builds from source here —
# hours, not minutes. That's what this nightly prebuild absorbs.
script = ''
${config.nix.package}/bin/nix build --refresh \
--option extra-substituters https://attic.xuyh0120.win/lantian \
--option extra-trusted-public-keys lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc= \
--out-link /var/lib/prebuild/${host} \
'git+https://forg.gregersen.it/rope/nixos#nixosConfigurations.${host}.config.system.build.toplevel'
'';