aboutsummaryrefslogtreecommitdiff
path: root/.vim/snippets/module.nix
blob: 8debed452155e6ad65b673a85354265ad13c32b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, lib, config, ... }:

let

  service = "";
  cfg = config.services.${service};

in {

  options.services.${service} = {
    enable = lib.mkOption {
      type = lib.types.bool;
      default = false;
    };
  };

  config = lib.mkIf cfg.enable { };
}