chore: Use localSystem.system instead of system

This commit is contained in:
ulic-youthlic 2025-10-18 23:10:53 +08:00
parent 44e6836e0f
commit f822528530
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 7 additions and 7 deletions

View file

@ -37,7 +37,7 @@ let
{
"${unixName}@${hostName}" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
inherit system;
localSystem = { inherit system; };
};
modules = [
(rootPath + "/home/${unixName}/configurations/${hostName}")

View file

@ -21,7 +21,7 @@
in
{
_module.args.pkgs = import nixpkgs {
inherit system;
localSystem = { inherit system; };
config = {
allowUnfree = true;
};