mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 10:11:54 -05:00
50 lines
1.4 KiB
Nix
50 lines
1.4 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
options.ar = {
|
|
apps = {
|
|
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 = {
|
|
cinnamon.enable = lib.mkEnableOption "Cinnamon desktop session.";
|
|
gnome.enable = lib.mkEnableOption "GNOME desktop session.";
|
|
|
|
greetd = {
|
|
enable = lib.mkEnableOption "Greetd display manager.";
|
|
|
|
autologin = {
|
|
enable = lib.mkEnableOption "Whether to enable autologin.";
|
|
|
|
user = lib.mkOption {
|
|
description = "User to autologin.";
|
|
default = "aly";
|
|
type = lib.types.str;
|
|
};
|
|
};
|
|
|
|
session = lib.mkOption {
|
|
description = "Default command to execute on login.";
|
|
default = lib.getExe config.programs.hyprland.package;
|
|
type = lib.types.str;
|
|
};
|
|
};
|
|
|
|
hyprland.enable = lib.mkEnableOption "Hyprland wayland session.";
|
|
steam.enable = lib.mkEnableOption "Steam + Gamescope session.";
|
|
sway.enable = lib.mkEnableOption "Sway wayland session.";
|
|
};
|
|
|
|
services = {
|
|
flatpak.enable = lib.mkEnableOption "Flatpak support with GUI.";
|
|
};
|
|
};
|
|
}
|