Commit graph

11 commits

Author SHA1 Message Date
Robert Hensing
65b36eb2cb Remove mkSubmoduleOptions usages, document as deprecated
The workaround is no longer needed since Nixpkgs 22.05
(https://github.com/NixOS/nixpkgs/pull/156533).
Declaring options directly in a submodule now works, e.g. `options.flake.foo`.

The function is kept for backwards compatibility but documented as deprecated.

The minimum supported Nixpkgs lib version is already 22.05, so this change
does not drop support for any previously supported version.
2026-01-05 09:33:34 +01:00
Robert Hensing
61add8319b Format 2025-11-10 22:29:13 +01:00
Isabel
55198246ae
chore: utilise class for nixosModules
This should help prevent errors from utilising the wrong class for the different system types. e.g. darwin trying to use nixos modules
2025-02-04 21:12:33 +00:00
Yang, Bo
9c92fd1582
Set proper type for flake.nixosModules 2024-09-12 01:09:17 -07:00
Yang, Bo
f359432597
Merge branch 'main' into moduleLocation 2023-07-22 18:07:20 -07:00
figsoda
40ee120dcc remove unused code 2023-05-29 13:52:03 -04:00
Yang, Bo
1e8a89e5f8 Add moduleLocation to mkFlake argument
tmp
2023-05-09 09:53:22 -07:00
Robert Hensing
d8f05073ae Remove redundant lib.mdDoc 2022-11-11 07:41:10 +01:00
Robert Hensing
6b87695050 Use markdown by default 2022-11-11 07:41:08 +01:00
Robert Hensing
3beb704537 flake-modules-core -> flake-parts 2022-05-25 16:38:27 +02:00
Robert Hensing
e5d5866b1d Add nixosModules 2021-11-22 22:44:39 +01:00