47 lines
1.3 KiB
Nix
Executable File
47 lines
1.3 KiB
Nix
Executable File
# Shared defaultApps submodule options, used by both the hyprland and
|
|
# nwg-panel modules. Import this file and pass the result as the `options`
|
|
# argument to types.submodule to avoid duplicating the definition.
|
|
{ pkgs, lib, ... }:
|
|
{
|
|
browser = lib.mkOption {
|
|
type = lib.types.package;
|
|
default = pkgs.firefox;
|
|
description = "Default web browser";
|
|
};
|
|
editor = lib.mkOption {
|
|
type = lib.types.package;
|
|
default = pkgs.micro;
|
|
description = "Default text editor";
|
|
};
|
|
fileExplorer = lib.mkOption {
|
|
type = lib.types.package;
|
|
default = pkgs.nautilus;
|
|
description = "Default file explorer";
|
|
};
|
|
visual = lib.mkOption {
|
|
type = lib.types.package;
|
|
default = pkgs.vscodium;
|
|
description = "Default visual/IDE editor";
|
|
};
|
|
terminal = lib.mkOption {
|
|
type = lib.types.package;
|
|
default = pkgs.kitty;
|
|
description = "Default terminal emulator";
|
|
};
|
|
office = lib.mkOption {
|
|
type = lib.types.package;
|
|
default = pkgs.onlyoffice-desktopeditors;
|
|
description = "Default office suite";
|
|
};
|
|
video = lib.mkOption {
|
|
type = lib.types.package;
|
|
default = pkgs.vlc;
|
|
description = "Default video player";
|
|
};
|
|
imageViewer = lib.mkOption {
|
|
type = lib.types.package;
|
|
default = pkgs.nomacs;
|
|
description = "Default image viewer";
|
|
};
|
|
}
|