| 12 Feb 2026 |
| Adam joined the room. | 23:13:59 |
| 13 Feb 2026 |
| hoplopf joined the room. | 10:26:33 |
| 17 Feb 2026 |
| kasek joined the room. | 20:12:56 |
| 18 Feb 2026 |
| tiferrei joined the room. | 20:16:58 |
| 19 Feb 2026 |
| catsarecute joined the room. | 19:04:22 |
| 21 Feb 2026 |
| h7x4 changed their profile picture. | 19:27:05 |
| h7x4 changed their profile picture. | 19:30:31 |
| h7x4 changed their profile picture. | 19:33:57 |
| 22 Feb 2026 |
| Haze joined the room. | 02:54:32 |
| mei 🌒& changed their profile picture. | 22:55:48 |
| 23 Feb 2026 |
| brain joined the room. | 14:41:01 |
| @draed:matrix.org left the room. | 17:53:26 |
| 24 Feb 2026 |
| @cdepillabout:matrix.org left the room. | 07:41:18 |
| Ren joined the room. | 10:36:54 |
| Ren changed their display name from rend0e_ to Ren. | 12:56:48 |
| 25 Feb 2026 |
| nim65s joined the room. | 19:54:14 |
| nim65s changed their display name from Guilhem to nim65s. | 19:55:53 |
| isabel changed their profile picture. | 21:51:53 |
| 27 Feb 2026 |
hexa | ` servers = mkOption { default = { }; description = '' Attribute set of wyoming-faster-whisper instances to spawn. ''; type = attrsOf (submodule { options = { enable = mkEnableOption "Wyoming faster-whisper server";
zeroconf = { enable = mkEnableOption "zeroconf discovery" // { default = true; };
name = mkOption { type = str; default = "faster-whisper-foo"; # how to replace foo with the attribute name? description = '' The advertised name for zeroconf discovery. ''; }; }; | 22:41:00 |
hexa | servers = mkOption {
default = { };
description = ''
Attribute set of wyoming-faster-whisper instances to spawn.
'';
type = attrsOf (submodule {
options = {
enable = mkEnableOption "Wyoming faster-whisper server";
zeroconf = {
enable = mkEnableOption "zeroconf discovery" // {
default = true;
};
name = mkOption {
type = str;
default = "faster-whisper-foo"; # how to replace foo with the attribute name?
description = ''
The advertised name for zeroconf discovery.
'';
};
};
| 22:41:09 |
hexa | how to reference the attribute name in inside the attrvalues? do we have a facility for that? 🤔 | 22:41:56 |
hexa | * how to reference the attribute name inside the attrvalue? do we have a facility for that? 🤔 | 22:42:06 |
hsjobeki | Submodule can be a function. If you destructure 'name' the module system will provide it. | 22:53:18 |
hsjobeki | If I am understanding the question correct | 22:53:36 |
hsjobeki | submodule ({ name, ... }: ... } | 22:54:00 |
hsjobeki | Or did you mean another attributeName? | 22:55:00 |
hsjobeki | * submodule ({ name, ... }: ... your options }) | 22:57:09 |
hsjobeki | in fact name is always available in submodules, but it needs to be explicitly destructured in functionargs of a module.
If not destructured it's not passed. So a module like
moduleArgs: { .... } won't have it | 22:59:46 |
hexa | nah, the servers.${name} = { // name in here | 23:10:04 |
hexa | ok, thx! | 23:10:14 |