nixdots/options/system/default.nix
2024-04-12 20:57:52 +02:00

22 lines
392 B
Nix

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