!XXmPwxJAJXDQzaElMj:matrix.org

Nix

1535 Members
General discussion related to Nix, NixOS, NixOps and related projects. | https://nixos.org/ | Freenode IRC: https://vector.im/beta/#/room/#freenode_#nixos:matrix.org233 Servers

Load older messages


SenderMessageTime
7 Mar 2021
@paperdigits:matrix.orgmicaI'm using oci-containers and podman, and according to nmap, mapping the container port to the host also seems to be opening a port in the firewall... Is it supposed to work that way?16:54:57
@untor3h:matrix.orguntor3h joined the room.17:26:16
@kng:kng.reKng joined the room.18:56:22
@_xmpp_d34db33f_bot=40yax.im:matrix.orgD34DB33F BOT joined the room.19:33:31
@_xmpp_d34db33f_bot=40yax.im:matrix.orgD34DB33F BOT changed their display name from d34db33f_bot to D34DB33F BOT.19:33:34
@maertens:matrix.orgRien I have a php package that requires a tmp/ folder in the working dir, but I am currently using the package root (in the nix store) as working dir, so mounting something there seems like a no-go. Is there a way to link a bunch of files from the store to a directory on the system? 21:02:23
@maertens:matrix.orgRienI suppose I could write an initScript which could link all those files, but I think that must have been done already?21:04:22
@paperdigits:matrix.orgmica Rien: bind mount them in the correct place 21:07:28
@symphorien:xlumurb.eusymphorienSystemd tmpfiles L+ can do that21:07:33
@maertens:matrix.orgRienYou mean binding it in the nix store? Or binding the nix store in a environment directory?21:08:06
@maertens:matrix.orgRienAha, it seems to be the latter.21:11:55
@aharris:austin-harris.comaharris 21:23:12
@paperdigits:matrix.orgmicaYes, the latter21:26:25
@maertens:matrix.orgRien

I now have

    systemd.tmpfiles.rules = [
      "d	${workingdir}/tmp	0750	${user}	${group}	-	-"
      "L+	${workingdir}	-	-	-	-	${package}"
    ];

But it complains over the read-only filesystem, what am I doing wrong?

21:35:20
@maertens:matrix.orgRien Or should I add the tmp directory with a bind mount over that? 21:36:07
@symphorien:xlumurb.eusymphorienYou should symlink the children of the store path, not the store path itself21:39:28
@maertens:matrix.orgRienThe problem is, there are a few children and they can change over time21:40:57
@_xmpp_d34db33f_bot=40yax.im:matrix.orgD34DB33F BOT left the room.21:41:46
@maertens:matrix.orgRienI guess I'll make an init script iterating over these children and linking them.21:42:27
@philip:matrix.munksgaard.memunksgaard joined the room.21:59:13
@keika:matrix.orgkei changed their profile picture.22:38:21
@keika:matrix.orgkei changed their profile picture.22:38:54
8 Mar 2021
@irelativism:tchncs.de@irelativism:tchncs.de changed their display name from irelativism to amasago.00:58:18
@irelativism:tchncs.de@irelativism:tchncs.de removed their profile picture.00:58:25
@irelativism:diem25.techirelativism joined the room.01:20:31
@irelativism:tchncs.de@irelativism:tchncs.de left the room.01:21:18
@yvtjp:matrix.orgyvt joined the room.04:17:03
@_xmpp_d34db33f_bot=40yax.im:matrix.orgD34DB33F BOT joined the room.05:00:52
@_xmpp_d34db33f_bot=40yax.im:matrix.orgD34DB33F BOT changed their display name from d34db33f_bot to D34DB33F BOT.05:00:54
@philip:matrix.munksgaard.memunksgaard changed their display name from Philip to munksgaard.07:08:36

There are no newer messages yet.


Back to Room List