Formatting
This commit is contained in:
parent
be44c8410b
commit
abbc8cb063
3 changed files with 27 additions and 15 deletions
|
@ -82,10 +82,17 @@ in
|
||||||
# interfaces."enp4s0" = {
|
# interfaces."enp4s0" = {
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
# NFS
|
# NFS
|
||||||
111 2049 4100 4101 4102 20048
|
111
|
||||||
|
2049
|
||||||
|
4100
|
||||||
|
4101
|
||||||
|
4102
|
||||||
|
20048
|
||||||
|
|
||||||
# Horus System V2
|
# Horus System V2
|
||||||
12345 5555 5556
|
12345
|
||||||
|
5555
|
||||||
|
5556
|
||||||
|
|
||||||
# Elixir/Phoenix dev environment
|
# Elixir/Phoenix dev environment
|
||||||
4000
|
4000
|
||||||
|
@ -96,7 +103,12 @@ in
|
||||||
|
|
||||||
allowedUDPPorts = [
|
allowedUDPPorts = [
|
||||||
# NFS
|
# NFS
|
||||||
111 2049 4100 4101 4102 20048
|
111
|
||||||
|
2049
|
||||||
|
4100
|
||||||
|
4101
|
||||||
|
4102
|
||||||
|
20048
|
||||||
];
|
];
|
||||||
|
|
||||||
allowedTCPPortRanges = [
|
allowedTCPPortRanges = [
|
||||||
|
|
|
@ -80,7 +80,7 @@ in
|
||||||
|
|
||||||
services.udev = {
|
services.udev = {
|
||||||
extraRules = qmkUdevRules;
|
extraRules = qmkUdevRules;
|
||||||
packages = [] ++ (optional cfg.udev-rules.probe-rs [ probersRules ])
|
packages = [ ] ++ (optional cfg.udev-rules.probe-rs [ probersRules ])
|
||||||
++ (optional cfg.udev-rules.blink1 [ blink1Rules ])
|
++ (optional cfg.udev-rules.blink1 [ blink1Rules ])
|
||||||
++ (optional cfg.udev-rules.picotool [ picotoolRules ])
|
++ (optional cfg.udev-rules.picotool [ picotoolRules ])
|
||||||
++ (optional cfg.udev-rules.solo2 [ solo2Rules ]);
|
++ (optional cfg.udev-rules.solo2 [ solo2Rules ]);
|
||||||
|
|
|
@ -11,9 +11,9 @@ mkDerivation {
|
||||||
phases = [ "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib/udev/rules.d
|
mkdir -p $out/lib/udev/rules.d
|
||||||
echo 'SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="b000", TAG+="uaccess"' >> $out/lib/udev/rules.d/70-solo2.rules
|
echo 'SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="b000", TAG+="uaccess"' >> $out/lib/udev/rules.d/70-solo2.rules
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "udev rules for the solo2 key";
|
description = "udev rules for the solo2 key";
|
||||||
|
|
Loading…
Reference in a new issue