Post Ac4V0zoJ7x1GD377jc by mgdelacroix@social.ctrlz.es
(DIR) More posts by mgdelacroix@social.ctrlz.es
(DIR) Post #Ac4V0zoJ7x1GD377jc by mgdelacroix@social.ctrlz.es
2023-11-22T17:28:56Z
0 likes, 0 repeats
I've just deployed my first #Nix package to a remote machine using #NixOps, and it's been quite easy and convenient. Now it's time to learn how to write a #NixOS service to run the binary as part of the system's lifecycle and I'll be able to say that I've deployed a pet project using the #Nix stack for the first time!
(DIR) Post #Ac4bkBuLayyWU8sBFY by xiroux@zaidin.lgbt
2023-11-22T18:44:15Z
0 likes, 0 repeats
@mgdelacroix Suena tan overengineered como interesante.
(DIR) Post #Ac4bvkhMaLcNZVJR3Y by kyva@meetiko.org
2023-11-22T17:36:13.506Z
0 likes, 0 repeats
@mgdelacroix@social.ctrlz.es That's cool!
(DIR) Post #Ac4bvqZmjR7ZnjoT4q by mgdelacroix@social.ctrlz.es
2023-11-22T18:46:27Z
0 likes, 0 repeats
@kyva indeed! I'm enjoying the experience a lot, although I'm struggling a bit to find comprehensive documentation on some thingsMy approach to finding answers is usually going to the nixpkgs repo and searching for packages that do more or less what I want, so it's not idealStill, having a lot of fun, I doubt I'm going to use any docker from now on for my pet projects really :)
(DIR) Post #Ac4c2OXLNcPGrjnFdg by mgdelacroix@social.ctrlz.es
2023-11-22T18:47:39Z
0 likes, 0 repeats
@xiroux pues casi te diría que al revés, me daba pereza meterme a crear un contenedor de docker, subirlo a un registry (o hacer dump de la imagen y cargarla en el remoto, que es lo que estaba haciendo) y montar un composeHacer un módulo de NixOS es bastante más sencillo ahora que se hacer lo básico
(DIR) Post #Ac4cai7N5I3FRQ0Yb2 by xiroux@zaidin.lgbt
2023-11-22T18:53:51Z
0 likes, 0 repeats
@mgdelacroix En realidad siempre he querido bichear Nix, pero nunca me he puesto. Suena guay.
(DIR) Post #Ac4dKbrUg0OVMKT3yK by mgdelacroix@social.ctrlz.es
2023-11-22T19:02:09Z
0 likes, 0 repeats
@xiroux 100% recomendado. Los primeros pasos son complicados, pero después de 5 años mejora y se vuelve más sencillo
(DIR) Post #Ac4fK8VK1kVEDU00FU by xiroux@zaidin.lgbt
2023-11-22T19:24:27Z
0 likes, 0 repeats
@mgdelacroix Después de 5 años xDDDDDDDDD
(DIR) Post #Ac4urC9YynjcP12k9w by mgdelacroix@social.ctrlz.es
2023-11-22T22:18:31Z
0 likes, 0 repeats
@xiroux técnicamente creo que conocí Nix y NixOS en una LambdaConf hace como 7-8 años. Participé en una release party en Londres, entré en la lista de maintainers porque empaqueté algunas cosas hace como ¿5? y aquí estamos, acabo de desplegar un servicio, logro desbloqueado 😬
(DIR) Post #Ac4vH7NHMyYd6uot96 by mgdelacroix@social.ctrlz.es
2023-11-22T22:23:12Z
0 likes, 0 repeats
And done! Once the basics are covered it is quite easy, it's amazing how frictionless deployments are. I need to work on things like declarative backups and such, but I don't see myself going back to docker for any pet project anytime soon.The only thing I'm missing are better docs, it's tricky to understand what's happening, what's expected at each step and how to discover things like available option types. Plenty of the things I've learned came from reading existing package sources