nixdots/options/system.nix

16 lines
312 B
Nix
Raw Normal View History

2024-03-21 20:47:25 +00:00
{ lib, ... }: with lib; let
in
{
options.myOptions.system = {
hostname = mkOption {
type = types.str;
2024-03-23 22:06:58 +00:00
description = "Hostname for this system";
2024-03-21 20:47:25 +00:00
};
username = mkOption {
type = types.str;
2024-03-23 22:06:58 +00:00
description = "Username for the primary admin account for this system";
2024-03-21 20:47:25 +00:00
};
};
}