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-11 14:40:57 +0200 |
| commit | b5745bceb059a59eefd396d08a094b7eddfd6569 (patch) | |
| tree | 173f79d8aaf3970990db6d553ddd5cfc4ccd1fc1 /nixos/rebuild | |
| parent | 36a954ef72f119793bbbbc419428a2716cd3464e (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 ' |
