nixdots/options/system/default.nix
2024-04-07 18:31:50 +02:00

21 lines
381 B
Nix

{ lib, ... }: with lib; let
inherit (lib) mkOption;
in
{
imports = [
./impermanence.nix
];
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";
};
};
}