nixcfg/nixosModules/options.nix
Aly Raffauf 7798d01cae
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
add gnome modules (#108)
* firefox: add gnome browser connector

* lavaridge: remove commented gnome settings

* nixos: add gnome module

* nix fmt

* vscode: use custom titlebar on gnome

* theme: check for gnome before adding extraCss

* firefox: browsers in titlebar when gnome is enabled

* home: add gnome settings

* desktop: set gtk window decorations

* gnome: remove gsconnect

* Merge branch 'master' into add-gnome
2024-09-18 12:44:14 -04:00

43 lines
1.3 KiB
Nix

{
config,
lib,
...
}: {
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 = {
greetd = {
enable = lib.mkEnableOption "Greetd display manager.";
autologin = lib.mkOption {
description = "User to autologin.";
default = null;
type = lib.types.nullOr lib.types.str;
};
session = lib.mkOption {
description = "Default command to execute on login.";
default = lib.getExe config.programs.hyprland.package;
type = lib.types.str;
};
};
gnome.enable = lib.mkEnableOption "GNOME desktop session.";
hyprland.enable = lib.mkEnableOption "Hyprland wayland session.";
steam.enable = lib.mkEnableOption "Steam + Gamescope session.";
sway.enable = lib.mkEnableOption "Sway wayland session.";
};
laptopMode = lib.mkEnableOption "Enable laptop configuration.";
services.flatpak.enable = lib.mkEnableOption "Flatpak support with GUI.";
};
}