diff --git a/hosts/stonehenge/vagrant.nix b/hosts/stonehenge/vagrant.nix index 53a61fa..33ac64b 100644 --- a/hosts/stonehenge/vagrant.nix +++ b/hosts/stonehenge/vagrant.nix @@ -4,7 +4,17 @@ let #!${pkgs.bash}/bin/bash set -euo pipefail - export PATH="${pkgs.lib.makeBinPath (with pkgs; [ vagrant curl openssh virtualbox ])}:$PATH" + export PATH="${ + pkgs.lib.makeBinPath ( + with pkgs; + [ + vagrant + curl + openssh + virtualbox + ] + ) + }:$PATH" export VNODE_NAME=vnode-05 cd /home/user/kubernetes-cluster/vnodes @@ -12,7 +22,11 @@ let ''; in { - environment.systemPackages = with pkgs; [ vagrant curl openssh ]; + environment.systemPackages = with pkgs; [ + vagrant + curl + openssh + ]; users.users.user.extraGroups = [ "vboxusers" ]; @@ -26,7 +40,17 @@ in ExecStart = "${vagrantScript}/bin/vagrant-vnode-05"; User = "user"; WorkingDirectory = "/home/user/kubernetes-cluster/vnodes"; - Environment = "PATH=${pkgs.lib.makeBinPath (with pkgs; [ vagrant curl openssh virtualbox ])}:$PATH"; + Environment = "PATH=${ + pkgs.lib.makeBinPath ( + with pkgs; + [ + vagrant + curl + openssh + virtualbox + ] + ) + }:$PATH"; }; wantedBy = [ "multi-user.target" ]; }; diff --git a/system/mouse.nix b/system/mouse.nix index b5d5b16..c09ccdd 100644 --- a/system/mouse.nix +++ b/system/mouse.nix @@ -1,15 +1,4 @@ { # Allow configuring Logitech Peripherals services.ratbagd.enable = true; - - # Sway does not undersand high resolution scroll wheels - # I don't need this, so I disable it - environment.etc."libinput/local-overrides.quirks".text = '' - [Logitech G502 X PLUS] - MatchUdevType=mouse - MatchBus=usb - MatchVendor=0x046D - MatchProduct=0x4099 - AttrEventCode=-REL_WHEEL_HI_RES - ''; }