refactor: use specialArgs instead of underdocumented stuff

Changed files
+8 -8
+8 -8
flake.nix
···
nixosConfigurations = {
koumakan = lib.nixosSystem {
system = "x86_64-linux";
+
+
# see docs/tips_n_tricks.md#extra_opts for syntax
+
# see docs/utils.md for functions
+
specialArgs = {
+
# inherit mystia;
+
_utils = (import ./global/utils.nix) { inherit pkgs; };
+
};
+
modules = [
-
{
-
# see docs/tips_n_tricks.md#extra_opts for syntax
-
# see docs/utils.md for functions
-
_module.args = {
-
_utils = (import ./global/utils.nix) { inherit pkgs; };
-
};
-
}
-
lanzaboote.nixosModules.lanzaboote
attic.nixosModules.atticd