modules: system: move 'documentation'
This commit is contained in:
parent
377c97ea9f
commit
43ef533ae1
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./documentation.nix
|
|
||||||
./hardware
|
./hardware
|
||||||
./home.nix
|
./home.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./documentation.nix
|
||||||
./language.nix
|
./language.nix
|
||||||
./media.nix
|
./media.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.my.module.documentation;
|
cfg = config.my.system.documentation;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.my.module.documentation = with lib.my; {
|
options.my.system.documentation = with lib.my; {
|
||||||
enable = mkDisableOption "Documentation integration";
|
enable = mkDisableOption "Documentation integration";
|
||||||
|
|
||||||
dev.enable = mkDisableOption "Documentation aimed at developers";
|
dev.enable = mkDisableOption "Documentation aimed at developers";
|
Loading…
Reference in a new issue