11 lines
175 B
Nix
11 lines
175 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.modules.X;
|
|
in {
|
|
options.modules.X = { enable = mkOption { default = false; }; };
|
|
|
|
config = mkIf cfg.enable { };
|
|
}
|