config: re-apply nixpkgs-channel metadata correctly

This commit is contained in:
Gabriel Arazas 2023-12-13 11:25:01 +08:00
parent 9dc2df5397
commit 4fb82448a9
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -393,7 +393,7 @@
(filename: metadata:
let
name = metadata.username or filename;
pkgs = import nixpkgs { inherit overlays; };
pkgs = import inputs.${metadata.nixpkgs-channel or "nixpkgs"} { inherit overlays; };
path = ./users/home-manager/${name};
extraModules = [
({ lib, pkgs, config, ... }: {