Formatting
This commit is contained in:
parent
ae65065d5c
commit
3ca8c5e218
9 changed files with 156 additions and 108 deletions
|
@ -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.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue