diff --git a/hosts/monolith/default.nix b/hosts/monolith/default.nix index 98abf0d..e496755 100644 --- a/hosts/monolith/default.nix +++ b/hosts/monolith/default.nix @@ -146,10 +146,9 @@ in virtualisation.virtualbox.host.enable = true; services.udev.extraRules = '' - # Disable using controller touchpad as mouse - # https://wiki.archlinux.org/title/Gamepad#libinput - ATTRS{name}=="Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1" - + # 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" # 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" diff --git a/user/helix.nix b/user/helix.nix index 4ef81cb..b711055 100644 --- a/user/helix.nix +++ b/user/helix.nix @@ -56,8 +56,6 @@ in # goto mode g.n = "goto_line_start"; g.o = "goto_line_end"; - # Formatting - "space".m = ":format"; }; keys.select = { # basic movement @@ -70,7 +68,6 @@ in L = "extend_search_prev"; # edits s = "insert_mode"; - S = "insert_at_line_start"; # open newline h = "open_below"; H = "open_above"; @@ -90,7 +87,7 @@ in { name = "nix"; auto-format = true; - formatter.command = "nixfmt"; + formatter.command = "nixpkgs-fmt"; } { name = "rust";