diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-10 07:46:57 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-14 06:37:06 +0200 |
| commit | f89e3b5814aef394a08f9dfe5412cfe57a55c055 (patch) | |
| tree | dfb561b94e29d75d4412273780fd2908821e155a /nixos/rebuild | |
| parent | b18099e81a05a09d632f0d02cad4086bf21592df (diff) | |
refactor: merge channel config to channels.toml
Diffstat (limited to 'nixos/rebuild')
| -rwxr-xr-x | nixos/rebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/rebuild b/nixos/rebuild index d6a06a8..bb44fe8 100755 --- a/nixos/rebuild +++ b/nixos/rebuild @@ -32,8 +32,8 @@ nixpkgsPath=$( --expr ' { host }: let - toml = builtins.readFile ./hosts/${host}/metadata.toml; - channel = (builtins.fromTOML toml).channel; + toml = builtins.readFile ./channels.toml; + channel = (builtins.fromTOML toml).${host}; in (import ./npins).${channel}.outPath ' |
