We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d94f482 + a697ebe commit 4b918e5Copy full SHA for 4b918e5
hosts/k8s/lib.nix
@@ -47,6 +47,17 @@
47
};
48
49
50
+ # Workaround for longhorn running on NixOS
51
+ # https://github.com/longhorn/longhorn/issues/2166
52
+ systemd.tmpfiles.rules = [
53
+ "L+ /usr/local/bin - - - - /run/current-system/sw/bin/"
54
+ ];
55
+ # Longhorn uses open-iscsi to create block devices.
56
+ services.openiscsi = {
57
+ name = "iqn.2020-08.org.linux-iscsi.initiatorhost:${hostName}";
58
+ enable = true;
59
+ };
60
+
61
networking = {
62
inherit hostName;
63
inherit (networking) defaultGateway nameservers;
0 commit comments