Format with nixfmt-rfc
This commit is contained in:
parent
8c9f699269
commit
a90a9c3a8e
60 changed files with 1756 additions and 1039 deletions
|
|
@ -1,5 +1,17 @@
|
|||
{ lib, config, options, inputs, ... }: {
|
||||
imports = [ ./oxidash.nix ./oxinoti.nix ./oxishut.nix ./oxipaste.nix ];
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
options,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./oxidash.nix
|
||||
./oxinoti.nix
|
||||
./oxishut.nix
|
||||
./oxipaste.nix
|
||||
];
|
||||
options.mods.oxi = {
|
||||
enable = lib.mkOption {
|
||||
default = true;
|
||||
|
|
@ -32,8 +44,8 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf config.mods.oxi.enable
|
||||
(lib.optionalAttrs (options ? home.packages) {
|
||||
config = lib.mkIf config.mods.oxi.enable (
|
||||
lib.optionalAttrs (options ? home.packages) {
|
||||
programs = {
|
||||
hyprdock.enable = lib.mkIf config.mods.oxi.hyprdock.enable true;
|
||||
oxicalc.enable = lib.mkIf config.mods.oxi.oxicalc.enable true;
|
||||
|
|
@ -46,12 +58,12 @@
|
|||
];
|
||||
plugin_config = {
|
||||
Keyboard = {
|
||||
path =
|
||||
"/home/${config.conf.username}/.config/reset/keyboard.conf";
|
||||
path = "/home/${config.conf.username}/.config/reset/keyboard.conf";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
{ lib, config, options, ... }: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.mods.oxi.oxidash = {
|
||||
enable = lib.mkOption {
|
||||
default = true;
|
||||
|
|
@ -7,8 +13,8 @@
|
|||
description = "Enables and configures oxidash";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.mods.oxi.oxidash.enable && config.mods.oxi.enable)
|
||||
(lib.optionalAttrs (options ? xdg.configFile) {
|
||||
config = lib.mkIf (config.mods.oxi.oxidash.enable && config.mods.oxi.enable) (
|
||||
lib.optionalAttrs (options ? xdg.configFile) {
|
||||
programs.oxidash.enable = true;
|
||||
xdg.configFile."oxidash/style.css" = {
|
||||
text = ''
|
||||
|
|
@ -60,5 +66,6 @@
|
|||
}
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
{ lib, config, options, ... }: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.mods.oxi.oxinoti = {
|
||||
enable = lib.mkOption {
|
||||
default = true;
|
||||
|
|
@ -7,8 +13,8 @@
|
|||
description = "Enables and configures oxinoti";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.mods.oxi.oxinoti.enable && config.mods.oxi.enable)
|
||||
(lib.optionalAttrs (options ? xdg.configFile) {
|
||||
config = lib.mkIf (config.mods.oxi.oxinoti.enable && config.mods.oxi.enable) (
|
||||
lib.optionalAttrs (options ? xdg.configFile) {
|
||||
programs.oxinoti.enable = true;
|
||||
xdg.configFile."oxinoti/style.css" = {
|
||||
text = # css
|
||||
|
|
@ -100,5 +106,6 @@
|
|||
dnd_override = 2
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
{ lib, config, options, ... }: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.mods.oxi.oxipaste = {
|
||||
enable = lib.mkOption {
|
||||
default = true;
|
||||
|
|
@ -7,8 +13,8 @@
|
|||
description = "Enables and configures oxipaste";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.mods.oxi.oxipaste.enable && config.mods.oxi.enable)
|
||||
(lib.optionalAttrs (options ? xdg.configFile) {
|
||||
config = lib.mkIf (config.mods.oxi.oxipaste.enable && config.mods.oxi.enable) (
|
||||
lib.optionalAttrs (options ? xdg.configFile) {
|
||||
programs.oxipaste.enable = true;
|
||||
xdg.configFile."oxipaste/style.css" = {
|
||||
text = ''
|
||||
|
|
@ -38,5 +44,6 @@
|
|||
}
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,10 @@
|
|||
{ lib, config, options, ... }: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.mods.oxi.oxishut = {
|
||||
enable = lib.mkOption {
|
||||
default = true;
|
||||
|
|
@ -7,8 +13,8 @@
|
|||
description = "Enables and configures oxishut";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.mods.oxi.oxishut.enable && config.mods.oxi.enable)
|
||||
(lib.optionalAttrs (options ? xdg.configFile) {
|
||||
config = lib.mkIf (config.mods.oxi.oxishut.enable && config.mods.oxi.enable) (
|
||||
lib.optionalAttrs (options ? xdg.configFile) {
|
||||
programs.oxishut.enable = true;
|
||||
xdg.configFile."oxishut/style.css" = {
|
||||
text = ''
|
||||
|
|
@ -32,5 +38,6 @@
|
|||
}
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue