about summary refs log tree commit diff stats
path: root/modules/by-name/re/resolvconf/module.nix
blob: e1817e2be30738111bd707c8564276558770d4e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  config,
  lib,
  ...
}: let
  cfg = config.soispha.resolvconf;
in {
  options.soispha.resolvconf = {
    enable = lib.mkEnableOption "resolvconf" // {default = config.networking.resolvconf.enable;};
  };

  config = lib.mkIf cfg.enable {
    users.groups.resolvconf.gid = config.soispha.constants.ids.gids.resolvconf;
  };
}