ich habe gerade dns und dna verwechselt

wie viel koffein hat kolle?
curl -s fussel.space/mate/index.json | jq '.[] | select(.name == "kolle-mate") .caffeine'

@erictapen it actually worked, thank you! i didn't think about just appending the scripts name.

@erictapen thank you, i did not know about writeTextFile (only writeText). the problem i see with it is that gitolite.nix tries to copy the result (/store/abc123-post-receive, not /store/abc123-post-receive/post-receive). i could probably just modify gitolite.nix or use the function independently of gitolite.customHooks.

how to create files without hash-prefix? i need a file „post-receive“, not „abc123-post-receive“ when specifying a list of type.path in nixos.org/nixos/options.html#s

@erictapen hey, thank you for the links! umask, however, will only be applied to /foo/bar/repositories and its subdirectories - not /foo/bar itself. permissions on /foo/bar get set when creating gitolites dataDir.

systemd.tmpfiles.rules looks pretty good (way more fitting than system.activationScripts) but is probably not needed if the chmod could happen directly in the init service.

i've created a very small pr, what do you think? github.com/NixOS/nixpkgs/pull/

i'd like to use /#nixops to install gitolite and gitweb. both, gitolites and lighttpds, users share a group. repos live inside /foo/bar/repositories which is owned by gitolite. however, lighttpd can't access the directory, since /foo/bar s permissions are 0700 by default.

currently i use system. activationScripts to more or less manually set g+rx on /foo/bar, but that seems wrong.

would it be better to, for example, modify the script creating the directory? github.com/NixOS/nixpkgs/blob/

bake relayed

afd, urlShortener, witzig Show more

bake relayed
bake relayed
bake relayed

@lx4r if you want something curses-like, you could try github.com/rivo/tview. i've only used it for one very small project, basically a list of lists with "search" and some dropdowns, and it worked without giving me a headache

bake relayed

i bought a witchcraft book that was written in the 90s and oh man it does NOT disappoint

Show more

cybrespace: the social hub of the information superhighway

jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal