about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-13 10:12:55 +0900
committersefidel <contact@sefidel.net>2022-01-13 10:12:55 +0900
commit2bdc141bebd35cc38396271c42b23b6f89d032a0 (patch)
treeb805570ea8ee2fd54a453fb34cedd7d3010428f5 /nixos
parent967a6f16c110c464f3490d1f79ae9c5f33774e08 (diff)
downloadnixrc-2bdc141bebd35cc38396271c42b23b6f89d032a0.tar.gz
nixrc-2bdc141bebd35cc38396271c42b23b6f89d032a0.zip
nixos/alpha: fix treesitter
Diffstat (limited to 'nixos')
-rw-r--r--nixos/configurations/alpha.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/configurations/alpha.nix b/nixos/configurations/alpha.nix
index b04d01d..d7fe368 100644
--- a/nixos/configurations/alpha.nix
+++ b/nixos/configurations/alpha.nix
@@ -72,6 +72,11 @@
 
   services.journald.extraConfig = lib.mkForce "";
 
+  # HACK: fix treesitter
+  systemd.tmpfiles.rules = [
+    "L+ /lib/libstdc++.so.6 - - - - ${pkgs.stdenv.cc.cc.lib}/lib/libstdc++.so.6"
+  ];
+
   systemd.extraConfig = "RebootWatchdogSec=5";
 
   programs = {