nixdots/options/system/default.nix
2024-04-07 17:00:49 +02:00

19 lines
356 B
Nix

{ lib, ... }: with lib; let
inherit (lib) mkOption;
in
{
imports = [ ];
options.myOptions.system = {
hostname = mkOption {
type = types.str;
description = "Hostname for this system";
};
username = mkOption {
type = types.str;
description = "Username for the primary admin account for this system";
};
};
}