Format code with alejandra

This commit is contained in:
2025-04-28 22:17:11 +02:00
parent 7d17c52192
commit 68da077c72
90 changed files with 502 additions and 691 deletions

View File

@ -1,11 +1,6 @@
{
lib,
...
}:
let
{lib, ...}: let
inherit (lib) types mkOption;
in
{
in {
options.colorscheme = {
name = mkOption {
type = types.str;

View File

@ -2,8 +2,7 @@
lib,
config,
...
}:
let
}: let
mkFontOption = kind: {
name = lib.mkOption {
type = lib.types.str;
@ -25,8 +24,7 @@ let
};
};
cfg = config.fontProfiles;
in
{
in {
options.fontProfiles = {
enable = lib.mkEnableOption "Whether to enable font profiles";
monospace = mkFontOption "monospace";

View File

@ -1,11 +1,6 @@
{
lib,
...
}:
let
{lib, ...}: let
inherit (lib) types mkOption;
in
{
in {
options.hostName = mkOption {
type = types.str;
};

View File

@ -2,11 +2,9 @@
lib,
config,
...
}:
let
}: let
inherit (lib) mkOption types;
in
{
in {
options.monitors = mkOption {
type = types.listOf (
types.submodule {
@ -46,7 +44,7 @@ in
};
}
);
default = [ ];
default = [];
};
config = {
assertions = [

View File

@ -1,11 +1,6 @@
{
lib,
...
}:
let
{lib, ...}: let
inherit (lib) types mkOption;
in
{
in {
options.is-nixos = mkOption {
type = types.bool;
};

View File

@ -3,8 +3,7 @@
lib,
pkgs,
...
}:
{
}: {
options.terminal = lib.mkOption {
type = lib.types.str;
example = "alacritty";

View File

@ -2,15 +2,12 @@
lib,
config,
...
}:
let
}: let
cfg = config.modules.syncthing;
in
{
in {
options.modules.syncthing = {
enable = lib.mkOption { default = false; };
overrideSettings = lib.mkOption { default = false; };
enable = lib.mkOption {default = false;};
overrideSettings = lib.mkOption {default = false;};
};
config = lib.mkIf cfg.enable {