Skyler Grey | 1fcb0b2 | 2023-03-19 19:46:17 +0000 | [diff] [blame] | 1 | { pkgs, ... }: { |
2 | config.services.udev.packages = [ (pkgs.stdenv.mkDerivation { | ||||
3 | pname = "udev-rules"; | ||||
4 | version = "2023-03-18"; | ||||
5 | |||||
6 | src = ./udev/rules; | ||||
7 | |||||
8 | installPhase = '' | ||||
9 | mkdir -p $out/etc/udev/rules.d/ | ||||
10 | cp $src/* $out/etc/udev/rules.d/ | ||||
11 | ''; | ||||
12 | }) ]; | ||||
13 | } |