Unify udev rules

This commit is contained in:
Artemis Tosini 2020-09-21 01:32:44 +00:00
parent b5a1d484ae
commit 6147c2bcf2
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
4 changed files with 8 additions and 32 deletions

View file

@ -92,7 +92,14 @@
user = "artemis"; user = "artemis";
dataDir = "/home/artemis"; dataDir = "/home/artemis";
}; };
udev.packages = [ pkgs.openocd ]; udev.packages = [
pkgs.openocd
pkgs.android-udev-rules
(pkgs.callPackage ./externals/rules/adafruit.nix { })
(pkgs.callPackage ./externals/rules/fpga.nix { })
(pkgs.callPackage ./externals/rules/limesuite.nix { })
(pkgs.callPackage ./externals/rules/uhk.nix { })
];
printing = { printing = {
enable = true; enable = true;
drivers = [ (pkgs.brlaser.overrideAttrs (old: { drivers = [ (pkgs.brlaser.overrideAttrs (old: {

View file

@ -17,15 +17,6 @@
}; };
}; };
services.udev.packages = [
pkgs.android-udev-rules
pkgs.openocd
(pkgs.callPackage ../../externals/rules/adafruit.nix { })
(pkgs.callPackage ../../externals/rules/fpga.nix { })
(pkgs.callPackage ../../externals/rules/limesuite.nix { })
(pkgs.callPackage ../../externals/rules/uhk.nix { })
];
fileSystems = { fileSystems = {
"/home".options = ["noatime"]; "/home".options = ["noatime"];
"/boot".options = ["noatime"]; "/boot".options = ["noatime"];

View file

@ -21,13 +21,4 @@
}; };
}; };
}; };
services.udev.packages = [
pkgs.android-udev-rules
pkgs.openocd
(pkgs.callPackage ./externals/rules/adafruit.nix { })
(pkgs.callPackage ./externals/rules/fpga.nix { })
(pkgs.callPackage ./externals/rules/limesuite.nix { })
(pkgs.callPackage ./externals/rules/uhk.nix { })
];
} }

View file

@ -28,17 +28,4 @@
}; };
}; };
}; };
services.udev = {
packages = [
pkgs.android-udev-rules
pkgs.openocd
(pkgs.callPackage ../../externals/rules/adafruit.nix { })
(pkgs.callPackage ../../externals/rules/ds4drv.nix { })
(pkgs.callPackage ../../externals/rules/fpga.nix { })
(pkgs.callPackage ../../externals/rules/limesuite.nix { })
(pkgs.callPackage ../../externals/rules/cm-rgb.nix { })
(pkgs.callPackage ../../externals/rules/uhk.nix { })
];
};
} }