Show newer

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.
github.com/NixOS/nixpkgs/blob/

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/

化け relayed

afd, urlShortener, witzig 

@Cheatha ich möchte vorschlagen, dass wir ab jetzt jegliche in irgendeiner Weise mit der #ScheißAfD verknüpfte Links nur noch über den

#UrlShortener fckaf.de/

umgeleitet posten 🤓

#fckafde #fckafd #afd

(Danke an #diePartei dafür)

化け relayed
化け relayed
化け 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

化け relayed

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

Show older
Cybrespace

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 support us on patreon or liberapay!