Home

ugit @c4ca33ae7dea59f56da4008556190fa72af97daa - 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}";
}