cleverca22
9/9/2016 - 11:15 AM

feature1.nix

{ config, lib, ... }:

with lib;

{
  options = {
    custom.feature1 = mkEnableOption "feature1";
  };
  config = mkIf config.custom.feature1 {
    services.mysql.enable = true;
  };
}