fix: create nixpkgs instance only in flake.nix, do not create it in any sub module or overlays

This commit is contained in:
ryan4yin
2023-06-01 16:18:30 +08:00
parent d04f4109f2
commit d38bc4ff38
2 changed files with 13 additions and 9 deletions

View File

@@ -1,13 +1,10 @@
{
pkgs,
nixpkgs-stable,
pkgs-stable,
...
}: let
pkgs-stable = import nixpkgs-stable {
system = pkgs.system;
config.allowUnfree = true;
};
in {
}:
{
# TODO vscode & chrome both have wayland support, but they don't work with fcitx5, need to fix it.
programs = {