From 866d7d5152d95cf855142692ee0a6b016c23defc Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 2 May 2020 16:30:55 +0200 Subject: [PATCH] lib: add maintainers attribute set This attribute set is for users who are Home Manager maintainers but not Nixpkgs maintainers. --- modules/lib/default.nix | 2 +- modules/lib/maintainers.nix | 16 ++++++++++++++++ modules/programs/lf.nix | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 modules/lib/maintainers.nix diff --git a/modules/lib/default.nix b/modules/lib/default.nix index 266aa66a4..7c2c72f70 100644 --- a/modules/lib/default.nix +++ b/modules/lib/default.nix @@ -17,7 +17,7 @@ rec { }; gvariant = import ./gvariant.nix { inherit lib; }; - + maintainers = import ./maintainers.nix; strings = import ./strings.nix { inherit lib; }; types = import ./types.nix { inherit dag gvariant lib; }; diff --git a/modules/lib/maintainers.nix b/modules/lib/maintainers.nix new file mode 100644 index 000000000..6c125315a --- /dev/null +++ b/modules/lib/maintainers.nix @@ -0,0 +1,16 @@ +# Home Manager maintainers. +# +# This attribute set contains Home Manager module maintainers that do +# not have an entry in the Nixpkgs maintainer list [1]. Entries here +# are expected to be follow the same format as described in [1]. +# +# [1] https://github.com/NixOS/nixpkgs/blob/fca0d6e093c82b31103dc0dacc48da2a9b06e24b/maintainers/maintainer-list.nix#LC1 + +{ + owm111 = { + email = "7798336+owm111@users.noreply.github.com"; + name = "Owen McGrath"; + github = "owm111"; + githubId = 7798336; + }; +} diff --git a/modules/programs/lf.nix b/modules/programs/lf.nix index dba3d8d9a..ee4e9b5bf 100644 --- a/modules/programs/lf.nix +++ b/modules/programs/lf.nix @@ -52,7 +52,7 @@ let in mapAttrs opt knownSettings; }; in { - meta.maintainers = [{ github = "owm111"; }]; + meta.maintainers = [ hm.maintainers.owm111 ]; options = { programs.lf = {