scy on Nostr: I don't think I'm convinced by how #Nix packages reinvent how the software they're ...
I don't think I'm convinced by how #Nix packages reinvent how the software they're packaging is configured.
For example, the nginx package lets you configure vhosts as Nix expressions, but as soon as you're trying to do anything that's not a super basic task (and for me, it was "set up CORS"), the recommended solution is apparently "well yeah okay, write your config as a single big string then".
Why spend the time to build an oversimplified abstraction in the first place then?
Published at
2024-06-22 19:54:07Event JSON
{
"id": "d1e8c54e72cab0ca5649ac13f505e5e0e37186e9b32d3ba75994ef3914c02037",
"pubkey": "a071462e960207a7a2272a3f59d042e59623bb2217b56f9365cba21e12213e3e",
"created_at": 1719086047,
"kind": 1,
"tags": [
[
"proxy",
"https://chaos.social/@scy/112662023220981286",
"web"
],
[
"t",
"nix"
],
[
"proxy",
"https://chaos.social/users/scy/statuses/112662023220981286",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://chaos.social/users/scy/statuses/112662023220981286",
"pink.momostr"
],
[
"expiration",
"1721678049"
]
],
"content": "I don't think I'm convinced by how #Nix packages reinvent how the software they're packaging is configured.\n\nFor example, the nginx package lets you configure vhosts as Nix expressions, but as soon as you're trying to do anything that's not a super basic task (and for me, it was \"set up CORS\"), the recommended solution is apparently \"well yeah okay, write your config as a single big string then\".\n\nWhy spend the time to build an oversimplified abstraction in the first place then?",
"sig": "94d69e7d818ac9e0f275c0e8bb9323c31d0eebe450015d6e838143b4ade440246c732b6362701f95da475ce350bfd060688929f63881e4995d29d2f382d7bf8f"
}