Home

ugit @6b07a4651d82b44e5ac7d71eb1edacebb28ae094 - refs - log -
-
https://git.jolheiser.com/ugit.git
The code powering this h*ckin' site
ugit / nix / gen.nix
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
{ lib }:
{
  profileLink = lib.types.submodule {
    options = {
      name = lib.mkOption {
        type = lib.types.str;
        description = "Display name for the link";
      };
      url = lib.mkOption {
        type = lib.types.str;
        description = "URL for the link";
      };
    };
  };
  profileLinkApply = link: "${link.name},${link.url}";
}