From 7c2a3dcf7ee3afc0e5a7fc6f8481a7bb3359c041 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 9 Nov 2023 09:40:56 +0800 Subject: [PATCH] config: update home-manager config to use nixpkgs.legacyPackages We can configure most of the nixpkgs option through the `nixpkgs` attribute anyways. --- flake.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 58f3e238..fc86ddb2 100644 --- a/flake.nix +++ b/flake.nix @@ -378,9 +378,7 @@ let name = metadata._name; system = metadata._system; - pkgs = import inputs."${metadata.nixpkgs-channel or "nixpkgs"}" { - inherit system overlays; - }; + pkgs = inputs."${metadata.nixpkgs-channel or "nixpkgs"}".legacyPackages."${system}"; path = ./users/home-manager/${name}; extraModules = [ ({ pkgs, config, ... }: {