summary refs log tree commit diff
path: root/nixos/modules/services/hardware
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-02-17 04:55:26 +0300
committerNikolay Amiantov <ab@fmap.me>2016-02-23 15:17:24 +0300
commit32df5ed4c2a5d01d3a1d3233ccdf6779e5402de6 (patch)
treed6941a7de4d9c2c00bd4fb5b91b409f1e53c49f3 /nixos/modules/services/hardware
parent885acea1dd82b0354ff2b6bcf1268b3031cf93df (diff)
downloadnixlib-32df5ed4c2a5d01d3a1d3233ccdf6779e5402de6.tar
nixlib-32df5ed4c2a5d01d3a1d3233ccdf6779e5402de6.tar.gz
nixlib-32df5ed4c2a5d01d3a1d3233ccdf6779e5402de6.tar.bz2
nixlib-32df5ed4c2a5d01d3a1d3233ccdf6779e5402de6.tar.lz
nixlib-32df5ed4c2a5d01d3a1d3233ccdf6779e5402de6.tar.xz
nixlib-32df5ed4c2a5d01d3a1d3233ccdf6779e5402de6.tar.zst
nixlib-32df5ed4c2a5d01d3a1d3233ccdf6779e5402de6.zip
udev service: make local rules apply after all others
Diffstat (limited to 'nixos/modules/services/hardware')
-rw-r--r--nixos/modules/services/hardware/udev.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/hardware/udev.nix b/nixos/modules/services/hardware/udev.nix
index 2d6630389b2b..e267aeee030c 100644
--- a/nixos/modules/services/hardware/udev.nix
+++ b/nixos/modules/services/hardware/udev.nix
@@ -13,13 +13,13 @@ let
   extraUdevRules = pkgs.writeTextFile {
     name = "extra-udev-rules";
     text = cfg.extraRules;
-    destination = "/etc/udev/rules.d/10-local.rules";
+    destination = "/etc/udev/rules.d/99-local.rules";
   };
 
   extraHwdbFile = pkgs.writeTextFile {
     name = "extra-hwdb-file";
     text = cfg.extraHwdb;
-    destination = "/etc/udev/hwdb.d/10-local.hwdb";
+    destination = "/etc/udev/hwdb.d/99-local.hwdb";
   };
 
   nixosRules = ''
@@ -212,8 +212,8 @@ in
         type = types.lines;
         description = ''
           Additional <command>udev</command> rules. They'll be written
-          into file <filename>10-local.rules</filename>. Thus they are
-          read before all other rules.
+          into file <filename>99-local.rules</filename>. Thus they are
+          read and applied after all other rules.
         '';
       };