Reorder module arguments again

This commit is contained in:
SebastianStork 2024-07-20 11:52:16 +02:00
parent 258cc2d7f2
commit cda9b2d2fb
8 changed files with 11 additions and 16 deletions

View file

@ -1,4 +1,4 @@
{ self, inputs, ... }: { inputs, self, ... }:
{ {
perSystem = perSystem =
{ pkgs, ... }: { pkgs, ... }:

View file

@ -1,6 +1,6 @@
{ {
self,
inputs, inputs,
self,
lib, lib,
... ...
}: }:
@ -13,7 +13,7 @@ in
name: name:
inputs.nixpkgs.lib.nixosSystem { inputs.nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit self inputs; inherit inputs self;
}; };
modules = [ modules = [
"${self}/hosts/${name}" "${self}/hosts/${name}"

View file

@ -1,8 +1,8 @@
{ {
flake.wrappers.default = flake.wrappers.default =
{ {
self,
inputs, inputs,
self,
pkgs, pkgs,
lib, lib,
... ...

View file

@ -1,7 +1,7 @@
{ {
config, config,
self,
inputs, inputs,
self,
lib, lib,
... ...
}@moduleArgs: }@moduleArgs:

View file

@ -1,6 +1,6 @@
{ {
inputs,
config, config,
inputs,
lib, lib,
... ...
}: }:

View file

@ -1,7 +1,7 @@
{ {
self,
inputs,
config, config,
inputs,
self,
lib, lib,
... ...
}: }:

View file

@ -1,4 +1,4 @@
{ self, inputs, ... }: { inputs, self, ... }:
{ {
imports = [ inputs.home-manager.nixosModules.home-manager ]; imports = [ inputs.home-manager.nixosModules.home-manager ];
@ -6,7 +6,7 @@
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
extraSpecialArgs = { extraSpecialArgs = {
inherit self inputs; inherit inputs self;
}; };
}; };

View file

@ -1,9 +1,4 @@
{ { inputs, pkgs, ... }:
inputs,
pkgs,
lib,
...
}:
{ {
theme ? "dark", theme ? "dark",
}: }: