Format with nixfmt-rfc

This commit is contained in:
DashieTM 2024-08-25 19:10:41 +02:00
parent 8c9f699269
commit a90a9c3a8e
60 changed files with 1756 additions and 1039 deletions

View file

@ -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 @@
}
'';
};
});
}
);
}