Luis Felipe on Nostr: I can now access the services of Guix machines in the local network using simple ...
I can now access the services of Guix machines in the local network using simple names like <host>.local instead of IP addresses.
To get this functionality:
❶ Open your OS configuration file
❷ Import (gnu packages nss)
❸ Set the operating-system's "name-service-switch" field as follows
(name-service-switch %mdns-host-lookup-nss)
❹ Reconfigure the OS
sudo guix system reconfigure path/to/your/os-config.scm
More info:
https://guix.gnu.org/es/manual/devel/en/html_node/Name-Service-Switch.html#gnu #guix
Published at
2024-05-13 17:03:34Event JSON
{
"id": "772ff3d87b4badea2e470bcbc2f611caaf71d210a525b75659381f56ef4ee37f",
"pubkey": "105a6854f4684d04aeac0efb72fee03e816b5b555742ba5290401eff0f438bd0",
"created_at": 1715619814,
"kind": 1,
"tags": [
[
"t",
"gnu"
],
[
"t",
"guix"
],
[
"proxy",
"https://mastodon.online/users/luis_felipe/statuses/112434860138279984",
"activitypub"
]
],
"content": "I can now access the services of Guix machines in the local network using simple names like \u003chost\u003e.local instead of IP addresses. \n\nTo get this functionality:\n\n❶ Open your OS configuration file\n❷ Import (gnu packages nss)\n❸ Set the operating-system's \"name-service-switch\" field as follows\n\n(name-service-switch %mdns-host-lookup-nss)\n\n❹ Reconfigure the OS\n\nsudo guix system reconfigure path/to/your/os-config.scm\n\nMore info:\n\nhttps://guix.gnu.org/es/manual/devel/en/html_node/Name-Service-Switch.html\n\n#gnu #guix",
"sig": "083ee74272d5ba4a33f30e026cb10b77d95dd1b29583e35c07693bbc6587b8b8ac59b0e42bdcf8ec172cdf9ef15dd8da6fb6fe19efd47d45ead97c3ab0ef76aa"
}