Add oxirun
This commit is contained in:
parent
145ca4d804
commit
5cabd3cefe
3 changed files with 23 additions and 1 deletions
|
|
@ -41,6 +41,7 @@
|
||||||
oxinoti.url = "github:Xetibo/OxiNoti";
|
oxinoti.url = "github:Xetibo/OxiNoti";
|
||||||
oxidash.url = "github:Xetibo/OxiDash";
|
oxidash.url = "github:Xetibo/OxiDash";
|
||||||
oxipaste.url = "github:Xetibo/OxiPaste";
|
oxipaste.url = "github:Xetibo/OxiPaste";
|
||||||
|
oxirun.url = "github:Xetibo/OxiRun";
|
||||||
hyprdock.url = "github:Xetibo/hyprdock";
|
hyprdock.url = "github:Xetibo/hyprdock";
|
||||||
reset.url = "github:Xetibo/ReSet";
|
reset.url = "github:Xetibo/ReSet";
|
||||||
reset-plugins.url = "github:Xetibo/ReSet-Plugins";
|
reset-plugins.url = "github:Xetibo/ReSet-Plugins";
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,9 @@
|
||||||
imports = [
|
imports = [
|
||||||
./oxidash.nix
|
./oxidash.nix
|
||||||
./oxinoti.nix
|
./oxinoti.nix
|
||||||
./oxishut.nix
|
|
||||||
./oxipaste.nix
|
./oxipaste.nix
|
||||||
|
./oxirun.nix
|
||||||
|
./oxishut.nix
|
||||||
];
|
];
|
||||||
options.mods.oxi = {
|
options.mods.oxi = {
|
||||||
enable = lib.mkOption {
|
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