aux-config/modules/home/suites/desktop/default.nix
kB01 65dbed81a3
Some checks failed
/ Check Nix Flake (push) Has been cancelled
Added Sway-Experiments to Desktop Suite
2025-12-02 01:11:37 +01:00

110 lines
2.6 KiB
Nix

{ lib, config, pkgs, ... }:
let
cfg = config.suites.desktop;
in {
imports = [
./firefox.nix
./chromium.nix
];
options.suites.desktop = {
enable = lib.mkEnableOption "Desktop";
firefox.enable = lib.mkOption {
type = with lib.types; bool;
default = cfg.enable;
example = true;
description = "Enable Firefox";
};
firefox.disableuBlockOrigin = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
firefox.disableIDontCareAboutCookies = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
firefox.disableKeepassxcBrowser = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
firefox.disableOfflineQr = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
firefox.disableDarkReader = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
firefox.disableLanguageTool = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
firefox.disableDefaultBookmarks = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
chromium.enable = lib.mkOption {
type = with lib.types; bool;
default = cfg.enable;
example = true;
description = "Enable Chromium";
};
chromium.enableWideVine = lib.mkOption {
type = with lib.types; bool;
default = true;
example = false;
};
chromium.disableChromiumWebStore = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
chromium.disableuBlockOrigin = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
chromium.disableIDontCareAboutCookies = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
chromium.disableKeepassxcBrowser = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
chromium.disableLanguageTool = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
chromium.disableDarkReader = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
};
sway-experiments.enable = lib.mkOption {
type = with lib.types; bool;
default = false;
example = true;
description = "Enable Sway Experiments";
};
};
config = lib.mkIf cfg.enable {
};
}