nixos: Declare module dependencies
Working towards a unit-testable documentation module.
This commit is contained in:
parent
5a98c63077
commit
08e6f45747
2 changed files with 7 additions and 0 deletions
|
@ -142,6 +142,12 @@ in
|
|||
|
||||
{
|
||||
imports = [
|
||||
./man-db.nix
|
||||
./mandoc.nix
|
||||
./assertions.nix
|
||||
./meta.nix
|
||||
../config/system-path.nix
|
||||
../system/etc/etc.nix
|
||||
(mkRenamedOptionModule [ "programs" "info" "enable" ] [ "documentation" "info" "enable" ])
|
||||
(mkRenamedOptionModule [ "programs" "man" "enable" ] [ "documentation" "man" "enable" ])
|
||||
(mkRenamedOptionModule [ "services" "nixosManual" "enable" ] [ "documentation" "nixos" "enable" ])
|
||||
|
|
|
@ -38,6 +38,7 @@ let
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
./label.nix
|
||||
(mkRenamedOptionModule [ "system" "nixosVersion" ] [ "system" "nixos" "version" ])
|
||||
(mkRenamedOptionModule [ "system" "nixosVersionSuffix" ] [ "system" "nixos" "versionSuffix" ])
|
||||
(mkRenamedOptionModule [ "system" "nixosRevision" ] [ "system" "nixos" "revision" ])
|
||||
|
|
Loading…
Reference in a new issue