Formatting

This commit is contained in:
Nox Sluijtman 2025-04-18 09:37:57 +02:00
parent ae65065d5c
commit 3ca8c5e218
Signed by: Egg
SSH key fingerprint: SHA256:2sG9X3C7Xvq2svGumz1/k7cm8l4G9+qAtAeugqB4J9M
9 changed files with 156 additions and 108 deletions

View file

@ -1,7 +1,9 @@
{ config, lib, ... }:
with lib;
let cfg = config.voidconf.xconfig;
in {
let
cfg = config.voidconf.xconfig;
in
{
options.voidconf.xconfig = {
enable = mkEnableOption "Enables opinionated xorg config";
@ -12,7 +14,10 @@ in {
enableProperConfig = mkEnableOption "Enable the touchpad settings";
accelProfile = mkOption {
type = types.enum [ "flat" "adaptive" ];
type = types.enum [
"flat"
"adaptive"
];
default = "adaptive";
example = "flat";
description = ''
@ -23,11 +28,14 @@ in {
};
mouse.accelProfile = mkOption {
type = types.enum [ "flat" "adaptive" ];
type = types.enum [
"flat"
"adaptive"
];
default = "flat";
example = "adaptive";
description = ''
Use addaptive on trackball and touchpad; and flat on any normal mouse.
Use addaptive on trackball and touchpad; and flat on any normal mouse.
'';
};
@ -36,7 +44,7 @@ in {
default = ./images/city.png;
type = types.path;
description = ''
Display manager background.
Display manager background.
'';
};