This commit is contained in:
RingOfStorms (Josh) 2024-09-20 22:19:05 -05:00
parent d5b54fc093
commit 09a33a9497
5 changed files with 54 additions and 0 deletions

View file

@ -56,6 +56,11 @@
hostname = "172.105.22.34";
user = "root";
};
"l002" = {
identityFile = age.secrets.nix2l002.path;
hostname = "172.233.221.107";
user = "root";
};
};
};
}

View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
hardware.flipperzero.enable = true;
environment.systemPackages = with pkgs; [ qFlipper ];
services.udev.extraRules = ''
#Flipper Zero serial port
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", ATTRS{manufacturer}=="Flipper Devices Inc.", GROUP="users", TAG+="uaccess"
#Flipper Zero DFU
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", ATTRS{manufacturer}=="STMicroelectronics", GROUP="users", TAG+="uaccess"
'';
}