!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

885 Members
For people hacking on the Nix package manager itself188 Servers

Load older messages


SenderMessageTime
22 May 2021
@robin.gloster:matrix.mayflower.deglobin joined the room.00:04:59
@jez:petrichor.meJez (he/him) joined the room.07:37:50
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️ joined the room.08:06:24
@skochen:matrix.orgStéphan joined the room.09:16:19
@hugotr:matrix.orghtr joined the room.11:28:55
@andi:kack.itandi- removed their profile picture.13:25:46
@andi:kack.itandi- set a profile picture.13:34:01
@jackal:matrix.orgcodyopel joined the room.14:24:28
@skochen:matrix.orgStéphan set a profile picture.20:23:18
23 May 2021
@v:anomalous.euV joined the room.11:21:08
@sternenseemann:systemli.orgsterni (he/him) changed their display name from sterni to sterni (he/him).13:24:21
24 May 2021
@kunrooted:matrix.orgkunrooted joined the room.05:15:52
@theophane:hufschmitt.netRegnat niksnut @ericson2314 CA meeting? 14:04:01
@theophane:hufschmitt.netRegnatAh John isn’t there14:04:23
@jez:petrichor.meJez (he/him) left the room.14:04:43
@anderscs:matrix.organderscs joined the room.17:11:24
@jul1u5:matrix.orgjul1u5 removed their profile picture.20:05:07
@infinisil:matrix.orginfinisil joined the room.20:30:04
@lukebfox:matrix.orglukebfox joined the room.22:34:47
25 May 2021
@vika:matrix.nice.sampler.fivika (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 better11:03:45
@vika:matrix.nice.sampler.fivika (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:matrix.nice.sampler.fivika (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 set11:09:53
@vika:matrix.nice.sampler.fivika (she/her) 🏳️‍⚧️i'm pretty sure this is a crappy idea and it has some sort of fatal drawback, I just haven't found one11:11:20
@toonn:matrix.orgtoonn 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
@toonn:matrix.orgtoonn This is brought up each time and then people say perfect shouldn't be the enemy of better. But I haven't seen anyone completing such an effort. 11:49:12
@toonn:matrix.orgtoonn It's usually brought up in the context of having an easier installer. Where you tick a bunch of boxes rather than having to write the entire configuration.nix. 11:49:56
26 May 2021
@immae:matrix.orgimmae (he/him) changed their display name from immae to immae (he/him).10:13:12
@zimbatm:numtide.comJonas Chevalier joined the room.11:03:00
@justinrestivo:matrix.orgjustinrestivo joined the room.12:27:49
@qbit:tapenet.orgqbit joined the room.12:53:49

There are no newer messages yet.


Back to Room ListRoom Version: 6