Compare commits

..

1 commit

Author SHA1 Message Date
3b6e80523f stonehenge: update config 2026-01-02 00:30:04 -03:00
2 changed files with 14 additions and 27 deletions

View file

@ -4,17 +4,7 @@ let
#!${pkgs.bash}/bin/bash #!${pkgs.bash}/bin/bash
set -euo pipefail set -euo pipefail
export PATH="${ export PATH="${pkgs.lib.makeBinPath (with pkgs; [ vagrant curl openssh virtualbox ])}:$PATH"
pkgs.lib.makeBinPath (
with pkgs;
[
vagrant
curl
openssh
virtualbox
]
)
}:$PATH"
export VNODE_NAME=vnode-05 export VNODE_NAME=vnode-05
cd /home/user/kubernetes-cluster/vnodes cd /home/user/kubernetes-cluster/vnodes
@ -22,11 +12,7 @@ let
''; '';
in in
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [ vagrant curl openssh ];
vagrant
curl
openssh
];
users.users.user.extraGroups = [ "vboxusers" ]; users.users.user.extraGroups = [ "vboxusers" ];
@ -40,17 +26,7 @@ in
ExecStart = "${vagrantScript}/bin/vagrant-vnode-05"; ExecStart = "${vagrantScript}/bin/vagrant-vnode-05";
User = "user"; User = "user";
WorkingDirectory = "/home/user/kubernetes-cluster/vnodes"; WorkingDirectory = "/home/user/kubernetes-cluster/vnodes";
Environment = "PATH=${ Environment = "PATH=${pkgs.lib.makeBinPath (with pkgs; [ vagrant curl openssh virtualbox ])}:$PATH";
pkgs.lib.makeBinPath (
with pkgs;
[
vagrant
curl
openssh
virtualbox
]
)
}:$PATH";
}; };
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
}; };

View file

@ -1,4 +1,15 @@
{ {
# Allow configuring Logitech Peripherals # Allow configuring Logitech Peripherals
services.ratbagd.enable = true; 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
'';
} }