From b5745bceb059a59eefd396d08a094b7eddfd6569 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 10 Oct 2026 07:46:57 +0200 Subject: refactor: merge channel config to channels.toml --- nixos/rebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/rebuild') 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 ' -- cgit v1.3.1