!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

33 Members
lxc, lxd, incus discussions related to NixOS14 Servers

Load older messages


SenderMessageTime
20 Mar 2024
@adam:robins.wtfadamcstephensor silently passed through01:21:58
@hexa:lossy.networkhexayeah, the manual is markdown, that's all I know01:22:05
@hexa:lossy.networkhexaand for some reason that includes the options01:22:21
@hexa:lossy.networkhexaI had no idea you could pass a list to mkPackageOption01:24:39
@adam:robins.wtfadamcstephensyeah, someone else did that before me. mkg maybe01:26:27
@hexa:lossy.networkhexathe negation in the firewall assertion 🙈01:26:48
@adam:robins.wtfadamcstephensyeah that's some ugly logic. but... feel free to give me an equivalent alternative :)01:28:11
@hexa:lossy.networkhexano 😄 01:28:25
@adam:robins.wtfadamcstephensonly idea i have is to pull the inner condition out to a variable, but it's just shifting the code around01:29:05
@hexa:lossy.networkhexayeah, don't bother01:29:32
@hexa:lossy.networkhexalib.optional should not exis01:31:27
@hexa:lossy.networkhexa * lib.optional should not exist01:31:29
@adam:robins.wtfadamcstephensbecause it's not clearly a list?01:32:27
@hexa:lossy.networkhexaI remember that I confused optionals and optional very often early on01:33:44
@hexa:lossy.networkhexabut now I think just optionals should be sufficient for everything01:33:58
@adam:robins.wtfadamcstephensok, works for me :)01:34:22
@hexa:lossy.networkhexamaking the argument a proper list makes extending it much simpler01:34:56
@adam:robins.wtfadamcstephensyep01:35:03
@hexa:lossy.networkhexa also the reason I'm a friend of always expanding lists cough 01:35:09
@hexa:lossy.networkhexabut that ship has sailed01:35:12
@adam:robins.wtfadamcstephenswhat do you mean always expanding lists?01:35:37
@hexa:lossy.networkhexato one line per item01:35:47
@adam:robins.wtfadamcstephensahh01:36:05
@adam:robins.wtfadamcstephenswe get that, after we get two items01:36:31
@adam:robins.wtfadamcstephensi feel like the ovs line should split anyway given its lenght01:41:21
@adam:robins.wtfadamcstephens101 characters01:41:47
@hexa:lossy.networkhexayeah, but that it flips around between one and two item 🤷01:41:57
@adam:robins.wtfadamcstephensyeah extra diff churn01:42:12
@hexa:lossy.networkhexa I know the discussion is probably not that simple 01:42:20
@adam:robins.wtfadamcstephensprobably not02:14:44

Show newer messages


Back to Room ListRoom Version: 10