summaryrefslogtreecommitdiff
path: root/modules/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/default.nix')
-rw-r--r--modules/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/default.nix b/modules/default.nix
index cae1b17..d2bbaf8 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -36,6 +36,11 @@
documentation.man.generateCaches = true;
environment.pathsToLink = [ "/include" ];
+ environment.variables = {
+ "PKG_CONFIG_PATH" = "/run/current-system/sw/lib/pkgconfig";
+ "C_INCLUDE_PATH" = "/run/current-system/sw/include";
+ "LIBRARY_PATH" = "/run/current-system/sw/lib";
+ }
services.udev.extraRules = ''
KERNEL=="uinput", MODE="0660", GROUP="input"