#nixops — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #nixops, aggregated by home.social.
-
NixOps4 Development and Funding Update
https://opencollective.com/nix-deployments/updates/nixops4-development-and-funding-update
#Nix #NixOps #NixOps4 #IaC #Deployment -
@ocramius @nyunyu Feel free to disregard but you don't have to do full #NixOps to provision remotely. You can just do:
nixos-rebuild --target-host root@host switchThat said - it won't mix very well with a gui running on destination machine. In my setup the destination nodes don't even have /etc/nixos for example, only the node deploying them has the repo/config.
-
Well, since @nyunyu's PC now runs #Nixos + flakes, it is time for me to learn #NixOps in practice, so I can provision her machine from remote.
The declarative approach is cool for me, not for her, and really needs a small GUI that does:
* edit a list of wished system / user programs
* do a `rebuild test`
* do a `commit` + push
* do a `rebuild switch`
* sometimes with `nix flake update` -
Updating the Nix Deployments OpenCollective about NixOps and NixOps4
https://opencollective.com/nix-deployments/updates/nixops-maintenance-and-the-road-to-nixops4
#Nix #NixOS #NixOps -
Holy fuck, a huge journey just ended today:
My final, my largest, most active personal repo was finally converted to flakes & #colmena for managing #nixOS hosts.
My Git oracles informed me that I first started trying to convert this repo on the 8th April 2021 😳
It had become such a massive chore to have one repo still stuck in the #nixops swamp, that I finally set aside a day on the weekend and JFDI.
Being a personal repo, previous attempts had suffered from "bah, I don't have time for this"
-
@nobodyinperson how are you managing multiple #NixOS #RapberryPi configurations?
I only have a new #FrameWork and legacy #System76, laptops, and my configurations are already divergent. I plan to add my Pi's into the mix, but need a better strategy.
#GitOps doesn't seem to cut it, and, though I know it would work, think I should go for something more idiomatic than #Ansible templates. I've seen some very interesting #NixOps setups, but https://github.com/NixOS/nixops?tab=readme-ov-file#nixops says it's in maintenance mode!?!
-
It'll be a while before it's usable, but NixOps4 did its first thing!
-
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!
-
@publicvoit sure,
My best advice for #nixos migration:
so don't use #flake if you don't need it
Don't use #homemanager if you don't need it
Don't use #nixops/#colmena if you don't need it
Don't use .... -
It's just dawned on me that now my #pinephone has #mobileNixos on it, I'm going to have to re-learn how to manage #NixOS _without_ #colmena or #NixOps 🤣
`nix rebuild` or `nix-rebuild` or something? It's only been 5 years or so since I worked that way...
I'm a professional, honest, I am... 🤣
-
playing around with #SelfHosting #Nextcloud on #NixOS while waiting for new hardware to arrive... realizing that I don't quite know the right way, NixOS-wise, to structure things. this machine will be responsible for a few different things - it'll serve as a NAS, a NextCloud instance, a NixOS cache and build machine, a #HomeAssistant instance, and probably more...
should the responsibilities be split into VMs? (#NixOps?) docker containers? just throw everything in the main install?
I intend to back all the data up outside, so I'm not sure what the best balance is...
-
A wee bit of #Terraform on #Hetzner cloud, a couple minutes, and, presto:
[root@test-server:~]# uname -a
Linux test-server 5.15.77 #1-NixOS SMP Thu Nov 3 14:59:20 UTC 2022 x86_64 GNU/LinuxTomorrow, #Nixops.
-
С новой версией nixops стало неудобно работать.
Теперь утилита проверяет наличие файла nixops.nix или flake.nix в текущей директории. Если его нету - выдаёт ошибку. Из директории с исходным кодом nixpkgs тоже не запускается. Надо, либо указывать новый параметр `--network` с указанием расположения файла `nixops.nix`, либо переходить сперва в директорию где он расположен, и только после этого запускать nixops.
Неудобно и непривычно :(
Так ещё надо осваивать `nix flake`... -
Anyone running #PostgreSQL on #NixOS and (optionally) #NixOps?
I'm looking for a few pointers about setting up hot standby replication, but it doesn't seem to be supported out of the box on NixOS, nor it's generally discussed in much detail...