From 0f683db7ccb0617a543ede3ab44c0f696e0c58ef Mon Sep 17 00:00:00 2001 From: xieby1 Date: Tue, 28 May 2024 11:06:42 +0800 Subject: [PATCH] sys: use same nixpkgs config as home-manager --- system.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system.nix b/system.nix index 23448154..76f8ad5b 100644 --- a/system.nix +++ b/system.nix @@ -24,6 +24,9 @@ { config, pkgs, ... }: { + #MC 让NixOS的nixpkgs使用和home-manager的nixpkgs采用相同的nixpkgs config + nixpkgs.config = import ./config.nix; + #MC 导入我的NixOS的CLI和GUI配置, #MC 详细内容见文档[./sys/cli.nix](./sys/cli.nix.md)和[./sys/gui.nix](./sys/gui.nix.md)。 imports = [