Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
stupidcomputer | 0965e78ac8 |
|
@ -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;
|
||||||
|
|
|
@ -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."/" =
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue