Add oxirun #7
3 changed files with 23 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -8,8 +8,9 @@
|
|||
imports = [
|
||||
./oxidash.nix
|
||||
./oxinoti.nix
|
||||
./oxishut.nix
|
||||
./oxipaste.nix
|
||||
./oxirun.nix
|
||||
./oxishut.nix
|
||||
];
|
||||
options.mods.oxi = {
|
||||
enable = lib.mkOption {
|
||||
|
|
|
|||
20
modules/programs/oxi/oxirun.nix
Normal file
20
modules/programs/oxi/oxirun.nix
Normal 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;
|
||||
}
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue