10 lines
210 B
Nix
10 lines
210 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) mkOption types;
|
|
in
|
|
{
|
|
options.location = {
|
|
latitude = mkOption { type = types.nullOr types.float; };
|
|
longitude = mkOption { type = types.nullOr types.float; };
|
|
};
|
|
}
|