modules: system: move 'documentation'

This commit is contained in:
Bruno BELANYI 2021-05-29 16:53:44 +02:00
parent 377c97ea9f
commit 43ef533ae1
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,6 @@
{ {
imports = [ imports = [
./documentation.nix
./hardware ./hardware
./home.nix ./home.nix
./nix.nix ./nix.nix

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
./documentation.nix
./language.nix ./language.nix
./media.nix ./media.nix
./users.nix ./users.nix

View file

@ -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";