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