| 21 May 2021 |
toonn | I'll head to #nix | 21:40:31 |
toonn | Hmm, #dev:nixos.org redirects me here. | 21:55:28 |
sterni (he/him) | I can confirm that it is a real channel | 21:55:54 |
sterni (he/him) | that is not this one | 21:55:57 |
toonn | Wait, no it doesn't! #chat:nixos.org redirected me to #offtopic:nixos.org and /join #dev:nixos.org didn't do anything so I assumed the same thing was happening. | 21:56:36 |
toonn | Thanks, sterni. | 21:56:46 |
| 22 May 2021 |
| globin joined the room. | 00:04:59 |
| Jez (he/him) joined the room. | 07:37:50 |
| vika (she/her) 🏳️⚧️ joined the room. | 08:06:24 |
| Stéphan joined the room. | 09:16:19 |
| htr joined the room. | 11:28:55 |
| andi- removed their profile picture. | 13:25:46 |
| andi- set a profile picture. | 13:34:01 |
| codyopel joined the room. | 14:24:28 |
| Stéphan set a profile picture. | 20:23:18 |
| 23 May 2021 |
| V joined the room. | 11:21:08 |
| sterni (he/him) changed their display name from sterni to sterni (he/him). | 13:24:21 |
| 24 May 2021 |
| kunrooted joined the room. | 05:15:52 |
Regnat | niksnut @ericson2314 CA meeting? | 14:04:01 |
Regnat | Ah John isn’t there | 14:04:23 |
| Jez (he/him) left the room. | 14:04:43 |
| anderscs joined the room. | 17:11:24 |
| jul1u5 removed their profile picture. | 20:05:07 |
| infinisil joined the room. | 20:30:04 |
| lukebfox joined the room. | 22:34:47 |
| 25 May 2021 |
vika (she/her) 🏳️⚧️ | just an idea that popped into my head... a scratch dialect that compiles to NixOS configs! probably way too crazy but it just occured to me that NixOS modules could be represented as blocks and used in visual programming! For example, there could be a block that creates a new module, and blocks that get inserted inside, setting options to values declared by inner blocks. I'm not well-versed in Scratch but I think such a visual programming tool could help people understand Nixlang better | 11:03:45 |
vika (she/her) 🏳️⚧️ | Something like this (excuse my crappy ASCII art):
[NixOS module]
\- [option-set services]
|- [option-set redis]
| \- [option enable]
| \- [boolean true]
\- [option-set nginx]
\- [option enable]
\- [boolean true]
would compile to something like this:
{ config, pkgs, lib, modulesPath, ... }: {
services = {
redis = {
enable = true;
};
nginx = {
enable = true;
};
};
}
| 11:09:02 |
vika (she/her) 🏳️⚧️ | then all we need would be to just provide some sort of index on the options that would get consumed by the tool to show completions for the option-set which produces an attribute set | 11:09:53 |
vika (she/her) 🏳️⚧️ | i'm pretty sure this is a crappy idea and it has some sort of fatal drawback, I just haven't found one | 11:11:20 |
toonn | I think the only drawback is what happens with scratch too. You basically flatten the lowering curve a bunch but only at the start, creating a cliff. / -> _| | 11:48:18 |