| 6 Mar 2025 |
mr-qubo | mkOptionDefault raises an error. The type is types.str. I'll guess I'll go with options..default then. | 15:24:07 |
Matt Sturgeon | types.str has merge = mergeEqualOption, which essentially means it doesn't support merging multiple definitions | 15:58:40 |
| 7 Mar 2025 |
| Qyriad changed their display name from Qyriad to qyriad. | 16:43:26 |
| 8 Mar 2025 |
| Qyriad changed their display name from qyriad to Qyriad. | 21:41:03 |
| 9 Mar 2025 |
| jappie joined the room. | 09:23:03 |
| 12 Mar 2025 |
Sam Lehman | Is there a "best-practices" way of iterating over many option names/values in a config? Particularly such that I can test the existence of many options without losing the benefits of lazy eval. | 12:09:50 |
Sam Lehman | e.g. I'm trying to persist directories using impermanence by enumerating all services*.dataDir options, then appending its value to environment.persistence."/persist".directories with lib.optional config.services.<name>.enable config.services.<name>.dataDir | 12:10:09 |
nbp | Unfortunately no. So far people have been using map within modules to iterate over the individual definitions, and some have used mkMerge / mkIf to make their definitions conditional. I have no found any way to generalize the processing of multiple option definitions into 1 or multiple at the moment. If you have any idea of what might be a good API, feel free to suggest, and people in this channel might be able to provide an implementation (if possible) | 14:18:09 |
| vidariondr joined the room. | 21:07:51 |
| 22 Mar 2025 |
| isabel joined the room. | 00:42:48 |
| vaw joined the room. | 21:26:12 |
| 27 Mar 2025 |
| ·☽•Nameless☆•777 · ± changed their profile picture. | 04:46:05 |
| ·☽•Nameless☆•777 · ± changed their profile picture. | 07:58:24 |
| 1 Apr 2025 |
| maka_77x joined the room. | 20:03:47 |
| 3 Apr 2025 |
| NixOS Moderation Bot banned @cafkafk:fem.gg (<no reason supplied>). | 11:42:04 |
| 4 Apr 2025 |
| NixOS Moderation Bot unbanned @cafkafk:fem.gg. | 06:12:50 |
| 8 Apr 2025 |
| ·☽•Nameless☆•777 · ± changed their profile picture. | 17:39:03 |
| 10 Apr 2025 |
| anselmetombarel joined the room. | 14:47:57 |
| 16 Apr 2025 |
| ·☽•Nameless☆•777 · ± changed their profile picture. | 06:50:41 |
| - joined the room. | 11:47:32 |