nixdots/options/system/default.nix

30 lines
614 B
Nix
Raw Normal View History

2024-03-21 20:47:25 +00:00
{ lib, ... }: with lib; let
2024-04-07 14:54:36 +00:00
inherit (lib) mkOption;
2024-03-21 20:47:25 +00:00
in
{
2024-04-07 16:28:15 +00:00
imports = [
2024-04-12 18:57:52 +00:00
./boot
2024-04-07 16:28:15 +00:00
./impermanence.nix
];
2024-04-07 14:54:36 +00:00
2024-03-21 20:47:25 +00:00
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
};
2024-05-15 19:24:55 +00:00
sound = {
enable = mkEnableOption "sound related programs and audio-dependent programs";
};
bluetooth = {
enable = mkEnableOption "bluetooth modules, drivers and configuration program(s)";
};
2024-03-21 20:47:25 +00:00
};
}