Add oxirun

This commit is contained in:
DashieTM 2025-04-28 10:57:52 +02:00
parent 145ca4d804
commit 5cabd3cefe
3 changed files with 23 additions and 1 deletions

View file

@ -41,6 +41,7 @@
oxinoti.url = "github:Xetibo/OxiNoti";
oxidash.url = "github:Xetibo/OxiDash";
oxipaste.url = "github:Xetibo/OxiPaste";
oxirun.url = "github:Xetibo/OxiRun";
hyprdock.url = "github:Xetibo/hyprdock";
reset.url = "github:Xetibo/ReSet";
reset-plugins.url = "github:Xetibo/ReSet-Plugins";

View file

@ -8,8 +8,9 @@
imports = [
./oxidash.nix
./oxinoti.nix
./oxishut.nix
./oxipaste.nix
./oxirun.nix
./oxishut.nix
];
options.mods.oxi = {
enable = lib.mkOption {

View file

@ -0,0 +1,20 @@
{
lib,
config,
options,
...
}: {
options.mods.oxi.oxirun = {
enable = lib.mkOption {
default = true;
example = false;
type = lib.types.bool;
description = "Enables OxiRun";
};
};
config = lib.mkIf (config.mods.oxi.oxirun.enable && config.mods.oxi.enable) (
lib.optionalAttrs (options ? xdg.configFile) {
programs.oxirun.enable = true;
}
);
}