nixcfg/nixosModules/options.nix

50 lines
1.4 KiB
Nix
Raw Normal View History

{
config,
lib,
pkgs,
...
}: {
options.ar = {
apps = {
2024-06-28 21:07:20 -04:00
firefox.enable = lib.mkEnableOption "Firefox Web Browser.";
nicotine-plus.enable = lib.mkEnableOption "Nicotine+ Soulseek client.";
podman.enable = lib.mkEnableOption "Podman for OCI container support.";
steam.enable = lib.mkEnableOption "Valve's Steam for video games.";
virt-manager.enable = lib.mkEnableOption "Virtual machine client.";
};
desktop = {
2024-06-28 21:07:20 -04:00
cinnamon.enable = lib.mkEnableOption "Cinnamon desktop session.";
gnome.enable = lib.mkEnableOption "GNOME desktop session.";
2024-06-28 21:07:20 -04:00
greetd = {
2024-06-28 21:07:20 -04:00
enable = lib.mkEnableOption "Greetd display manager.";
autologin = {
2024-06-28 21:07:20 -04:00
enable = lib.mkEnableOption "Whether to enable autologin.";
user = lib.mkOption {
description = "User to autologin.";
default = "aly";
type = lib.types.str;
};
};
2024-06-28 21:07:20 -04:00
session = lib.mkOption {
description = "Default command to execute on login.";
default = lib.getExe config.programs.hyprland.package;
type = lib.types.str;
};
};
2024-06-28 21:07:20 -04:00
hyprland.enable = lib.mkEnableOption "Hyprland wayland session.";
steam.enable = lib.mkEnableOption "Steam + Gamescope session.";
sway.enable = lib.mkEnableOption "Sway wayland session.";
};
2024-06-28 19:39:27 -04:00
services = {
2024-06-28 21:07:20 -04:00
flatpak.enable = lib.mkEnableOption "Flatpak support with GUI.";
};
};
}