Compare commits
2 commits
16d3af4edb
...
0a4cabca4b
Author | SHA1 | Date | |
---|---|---|---|
0a4cabca4b | |||
b2bdcb1724 |
|
@ -146,9 +146,10 @@ in
|
|||
virtualisation.virtualbox.host.enable = true;
|
||||
|
||||
services.udev.extraRules = ''
|
||||
# Fix broken suspend with Logitech USB dongle
|
||||
# `lsusb | grep Logitech` will return "vendor:product"
|
||||
ACTION=="add" SUBSYSTEM=="usb" ATTR{idVendor}=="046d" ATTR{idProduct}=="c547" ATTR{power/wakeup}="disabled"
|
||||
# Disable using controller touchpad as mouse
|
||||
# https://wiki.archlinux.org/title/Gamepad#libinput
|
||||
ATTRS{name}=="Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
|
||||
# Force all disks to use mq-deadline scheduler
|
||||
# For some reason "noop" is used by default which is kinda bad when io is saturated
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]*[0-9]*|mmcblk[0-9]*p[0-9]*|nvme[0-9]*n[0-9]*p[0-9]*", ATTR{../queue/scheduler}="mq-deadline"
|
||||
|
|
|
@ -56,6 +56,8 @@ in
|
|||
# goto mode
|
||||
g.n = "goto_line_start";
|
||||
g.o = "goto_line_end";
|
||||
# Formatting
|
||||
"space".m = ":format";
|
||||
};
|
||||
keys.select = {
|
||||
# basic movement
|
||||
|
@ -68,6 +70,7 @@ in
|
|||
L = "extend_search_prev";
|
||||
# edits
|
||||
s = "insert_mode";
|
||||
S = "insert_at_line_start";
|
||||
# open newline
|
||||
h = "open_below";
|
||||
H = "open_above";
|
||||
|
@ -87,7 +90,7 @@ in
|
|||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
formatter.command = "nixpkgs-fmt";
|
||||
formatter.command = "nixfmt";
|
||||
}
|
||||
{
|
||||
name = "rust";
|
||||
|
|
Loading…
Reference in a new issue