refactor(treewide): format with alejandra
This commit is contained in:
parent
7fefb94400
commit
61cef505da
216 changed files with 5995 additions and 3969 deletions
|
|
@ -1,51 +1,46 @@
|
|||
{ lib, ... }:
|
||||
|
||||
let
|
||||
{lib, ...}: let
|
||||
inherit (lib) mkOption types;
|
||||
inherit (types) enum nullOr listOf;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
options.ooknet.desktop = {
|
||||
|
||||
environment = mkOption {
|
||||
type = nullOr (enum [ "hyprland" ]);
|
||||
type = nullOr (enum ["hyprland"]);
|
||||
default = "hyprland";
|
||||
};
|
||||
|
||||
browser = mkOption {
|
||||
type = nullOr (enum [ "firefox" "brave" ]);
|
||||
type = nullOr (enum ["firefox" "brave"]);
|
||||
default = null;
|
||||
};
|
||||
|
||||
terminal = mkOption {
|
||||
type = nullOr (enum [ "foot" "kitty" "wezterm" ]);
|
||||
type = nullOr (enum ["foot" "kitty" "wezterm"]);
|
||||
default = "foot";
|
||||
};
|
||||
|
||||
fileManager = mkOption {
|
||||
type = nullOr (enum [ "nemo" ]);
|
||||
type = nullOr (enum ["nemo"]);
|
||||
default = null;
|
||||
};
|
||||
|
||||
notes = mkOption {
|
||||
type = nullOr (enum [ "obsidian" ]);
|
||||
type = nullOr (enum ["obsidian"]);
|
||||
default = null;
|
||||
};
|
||||
|
||||
pdf = mkOption {
|
||||
type = nullOr (enum [ "zathura" ]);
|
||||
type = nullOr (enum ["zathura"]);
|
||||
default = null;
|
||||
};
|
||||
|
||||
discord = mkOption {
|
||||
type = nullOr (enum [ "vesktop" ]);
|
||||
type = nullOr (enum ["vesktop"]);
|
||||
default = null;
|
||||
};
|
||||
|
||||
suites = mkOption {
|
||||
type = listOf (enum [ "gaming" "tools" "media" "creative" ]);
|
||||
default = [ ];
|
||||
type = listOf (enum ["gaming" "tools" "media" "creative"]);
|
||||
default = [];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue