From ccaafc3fafb63e6ed866f2fdfc50d77a05f119e1 Mon Sep 17 00:00:00 2001 From: Asaki Yuki Date: Mon, 13 Apr 2026 18:56:34 +0700 Subject: [PATCH] add args --- flake.nix | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 504ac0a..1022813 100644 --- a/flake.nix +++ b/flake.nix @@ -44,20 +44,22 @@ system = "x86_64-linux"; config.allowUnfree = true; }; + + specialArgs = { + inherit + self + custom + libs + unstable + inputs + ; + }; in { nixosConfigurations = { ideapad-slim-5 = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = { - inherit - self - custom - libs - unstable - inputs - ; - }; + specialArgs = specialArgs; modules = [ inputs.nixos-hardware.nixosModules.lenovo-ideapad-slim-5 inputs.nix-index-database.nixosModules.default @@ -68,7 +70,7 @@ home-server = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = { inherit self inputs libs; }; + specialArgs = specialArgs; modules = [ (libs.root "/devices/home-server/configuration.nix") ];