mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
Hosts now accept only the two CanoKeys' resident SSH keys for ryan, plus the romantic recovery key for root; per-host user keys stop working. Darwin builds work again: the shared base no longer sets nixpkgs.config next to nix-darwin's nixpkgs.pkgs. Assisted-by: DeepSeek Harness (claude-opus-5-5) Assisted-by: DeepSeek Harness (deepseek-flash)
12 lines
290 B
Nix
12 lines
290 B
Nix
{
|
|
lib,
|
|
outputs,
|
|
}:
|
|
let
|
|
hostsNames = builtins.attrNames outputs.darwinConfigurations;
|
|
# nix-darwin passes an external instance through `nixpkgs.pkgs`, and nixpkgs
|
|
# asserts that `nixpkgs.config` stays empty in that case.
|
|
expected = lib.genAttrs hostsNames (_: true);
|
|
in
|
|
expected
|