refactor(treewide): format with alejandra

This commit is contained in:
ooks-io 2024-07-29 15:00:38 +12:00
parent 7fefb94400
commit 61cef505da
216 changed files with 5995 additions and 3969 deletions

View file

@ -1,10 +1,6 @@
{ lib, ... }:
let
{lib, ...}: let
inherit (lib) mkEnableOption mkOption types;
in
{
in {
options.ooknet.cursor = {
enable = mkEnableOption "Enable cursor module";
package = mkOption {

View file

@ -1,6 +1,4 @@
{ lib, ... }:
let
{lib, ...}: let
mkFontOption = kind: {
family = lib.mkOption {
type = lib.types.str;
@ -15,8 +13,7 @@ let
example = "pkgs.fira-code";
};
};
in
{
in {
options.ooknet.fonts = {
enable = lib.mkEnableOption "Whether to enable font profiles";
monospace = mkFontOption "monospace";

View file

@ -1,9 +1,5 @@
{ lib, ... }:
let
{lib, ...}: let
inherit (lib) mkEnableOption;
in
{
in {
options.ooknet.gtk.enable = mkEnableOption "";
}

View file

@ -1,9 +1,5 @@
{ lib, ... }:
let
{lib, ...}: let
inherit (lib) mkEnableOption;
in
{
in {
options.ooknet.qt.enable = mkEnableOption "";
}

View file

@ -1,13 +1,9 @@
{ lib, ... }:
let
{lib, ...}: let
inherit (lib) mkOption;
inherit (lib.types) nullOr enum;
in
{
in {
options.ooknet.theme = mkOption {
type = nullOr (enum [ "minimal" "phone" ]);
type = nullOr (enum ["minimal" "phone"]);
default = null;
};
}

View file

@ -1,10 +1,6 @@
{ lib, ... }:
let
{lib, ...}: let
inherit (lib) types mkEnableOption mkOption;
in
{
in {
options.ooknet.wallpaper = {
enable = mkEnableOption "";
path = mkOption {