nix-config/options.nix
2024-06-30 18:20:28 +02:00

21 lines
669 B
Nix

{ lib, ... }: {
options = with lib; {
full = mkEnableOption "Full home manager configuration with all programs";
withAudio = mkEnableOption "Enable support for audio";
withBluetooth = mkEnableOption "Enable bluetooth";
withNiri = mkEnableOption "Enable niri compositor";
withGnome = mkEnableOption "Enable Gnome";
withVM = mkEnableOption "Enable VM related configuration";
withContainers = mkEnableOption "Enable container support";
withGames = mkEnableOption "Enable games";
hwmonPath = mkOption {
type = with types; nullOr str;
default = null;
example = "/sys/class/hwmon/hwmon1/temp1_input";
};
};
}