add udev rules for MCH2022 badge and Flipper Zero, switch back to gnome3 pinentry
This commit is contained in:
parent
eb80e0b782
commit
3f0f0ced26
3 changed files with 15 additions and 2 deletions
|
@ -28,7 +28,6 @@
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
microwave = nixpkgs-unstable.lib.nixosSystem {
|
microwave = nixpkgs-unstable.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs; };
|
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
|
|
@ -90,6 +90,20 @@
|
||||||
|
|
||||||
|
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
|
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
# MCH2022 Badge
|
||||||
|
SUBSYSTEM=="usb", ATTR{idVendor}=="16d0", ATTR{idProduct}=="0f9a", MODE="0666"
|
||||||
|
|
||||||
|
#Flipper Zero serial port
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", ATTRS{manufacturer}=="Flipper Devices Inc.", TAG+="uaccess"
|
||||||
|
#Flipper Zero DFU
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", ATTRS{manufacturer}=="STMicroelectronics", TAG+="uaccess"
|
||||||
|
#Flipper ESP32s2 BlackMagic
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="303a", ATTRS{idProduct}=="40??", ATTRS{manufacturer}=="Flipper Devices Inc.", TAG+="uaccess"
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
@ -143,5 +143,5 @@
|
||||||
wayland = true;
|
wayland = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.gnupg.agent.pinentryFlavor = "curses";
|
programs.gnupg.agent.pinentryFlavor = "gnome3";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue