Aada :verified_nonbinary: :verified_asexual: on Nostr: Hey #NixOS folks, do you know of a way to ignore packages in my home.packages if they ...
Hey #NixOS folks, do you know of a way to ignore packages in my home.packages if they aren't for my current architecture? Or to conditionally, depending on the architecture, add packages to home.packages?
I have an aarch64 laptop and a bunch of x86_64 devices that I would like to share a configuration for, but some packages are only available on x86_64 and cause build errors.
Published at
2024-05-28 08:55:03Event JSON
{
"id": "b29a796a7a52d11ad2c41ed625a6977f0372f9a6b66be7f30822808a691df87a",
"pubkey": "6575de08bd89e7ed116b2cd4348496ac64faaf3b83187070346009b85c724493",
"created_at": 1716886503,
"kind": 1,
"tags": [
[
"t",
"nixos"
],
[
"proxy",
"https://catcatnya.com/users/ada/statuses/112517873879054228",
"activitypub"
]
],
"content": "Hey #NixOS folks, do you know of a way to ignore packages in my home.packages if they aren't for my current architecture? Or to conditionally, depending on the architecture, add packages to home.packages?\n\nI have an aarch64 laptop and a bunch of x86_64 devices that I would like to share a configuration for, but some packages are only available on x86_64 and cause build errors.",
"sig": "729035aed273f47327b4b5815c5a0fc1e383a1603b0fd8e4a5a9bc6f0629d83415fd35172d7952d63d7db28bd4c43acc97eeaa6bd966f464440d3180aff35de8"
}