nixdots/options/system/default.nix
2024-07-27 01:07:07 +02:00

26 lines
497 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";
};
sound = {
enable = mkEnableOption "sound related programs and audio-dependent programs";
};
};
}