2024-06-11 16:24:12 -04:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
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.";
|
2024-06-26 22:13:02 -04:00
|
|
|
};
|
2024-06-11 21:16:05 -04:00
|
|
|
|
2024-06-26 22:13:02 -04:00
|
|
|
desktop = {
|
|
|
|
greetd = {
|
2024-06-28 21:07:20 -04:00
|
|
|
enable = lib.mkEnableOption "Greetd display manager.";
|
2024-06-26 22:13:02 -04:00
|
|
|
|
2024-07-10 20:30:11 -04:00
|
|
|
autologin = lib.mkOption {
|
|
|
|
description = "User to autologin.";
|
|
|
|
default = null;
|
|
|
|
type = lib.types.nullOr lib.types.str;
|
2024-06-26 22:13:02 -04:00
|
|
|
};
|
2024-06-28 21:07:20 -04:00
|
|
|
|
2024-06-26 22:13:02 -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
|
|
|
|
2024-09-18 12:44:14 -04:00
|
|
|
gnome.enable = lib.mkEnableOption "GNOME desktop session.";
|
2024-06-28 21:07:20 -04:00
|
|
|
hyprland.enable = lib.mkEnableOption "Hyprland wayland session.";
|
2024-10-25 15:05:48 -04:00
|
|
|
kde.enable = lib.mkEnableOption "KDE desktop session.";
|
2024-06-28 21:07:20 -04:00
|
|
|
steam.enable = lib.mkEnableOption "Steam + Gamescope session.";
|
|
|
|
sway.enable = lib.mkEnableOption "Sway wayland session.";
|
2024-06-26 22:13:02 -04:00
|
|
|
};
|
2024-06-28 19:39:27 -04:00
|
|
|
|
2024-08-19 21:40:31 -04:00
|
|
|
laptopMode = lib.mkEnableOption "Enable laptop configuration.";
|
|
|
|
|
2024-07-12 20:50:01 -04:00
|
|
|
services.flatpak.enable = lib.mkEnableOption "Flatpak support with GUI.";
|
2024-06-11 16:24:12 -04:00
|
|
|
};
|
|
|
|
}
|