Compare commits
1 commit
a0cea50099
...
3b6e80523f
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b6e80523f |
2 changed files with 14 additions and 27 deletions
|
|
@ -4,17 +4,7 @@ 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
|
||||
|
|
@ -22,11 +12,7 @@ let
|
|||
'';
|
||||
in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
vagrant
|
||||
curl
|
||||
openssh
|
||||
];
|
||||
environment.systemPackages = with pkgs; [ vagrant curl openssh ];
|
||||
|
||||
users.users.user.extraGroups = [ "vboxusers" ];
|
||||
|
||||
|
|
@ -40,17 +26,7 @@ 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" ];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
{
|
||||
# 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
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue