mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 20:24:35 +00:00
30 lines
614 B
Nix
30 lines
614 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";
|
|
};
|
|
|
|
bluetooth = {
|
|
enable = mkEnableOption "bluetooth modules, drivers and configuration program(s)";
|
|
};
|
|
};
|
|
}
|