Compare commits

...

1 Commits

Author SHA1 Message Date
stupidcomputer 0965e78ac8 alasdflkasdjf 2024-12-01 15:17:23 -06:00
4 changed files with 26 additions and 3 deletions

View File

@ -68,6 +68,19 @@
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;
security.sudo.extraRules = [
{
users = [ "usr" ];
runAs = "root";
commands = [
{
command = "/run/current-system/sw/bin/jsfw";
options = [ "NOPASSWD" ];
}
];
}
];
boot.loader = { boot.loader = {
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;

View File

@ -10,7 +10,7 @@
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" "psmouse" "wacom" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =

View File

@ -3,9 +3,16 @@
{ {
"controllers": [ "controllers": [
{ {
"tag": ["keyboard"], "tag": "keyboard",
"vendor": "dead", "vendor": "dead",
"product": "beef" "product": "beef",
"name": "keyboard"
},
{
"tag": "mouse",
"vendor": "0002",
"product": "000e",
"name": "ETPS/2 Elantech Touchpad"
} }
] ]
} }

View File

@ -132,6 +132,9 @@ case "$(hostname)" in
;; ;;
esac esac
phone pair & disown phone pair & disown
pkill jsfw
st -e sudo /run/current-system/sw/bin/jsfw client 192.168.1.211 24800 ~/dot_testing/boxes/copernicus/jsfw.json & disown
st -e sudo /run/current-system/sw/bin/jsfw client 192.168.1.211 24800 ~/dot_testing/boxes/copernicus/jsfw.json & disown
;; ;;
"localhost") # phone in termux "localhost") # phone in termux
xrandr --output VNC-0 --mode 1920x1080 xrandr --output VNC-0 --mode 1920x1080