At the moment I am using Debian Bookworm and I can setup/configure 100% of my setup automatically everything via Ansible. (Only thing left after the Ansible script is login to my online accounts/email which I would rather not automate.)
Is there a way/does anyone have this working/running on Silverblue?
To be more concrete: After I install Silverblue with default settings, I want to automatically install all needed flatpaks, configure them (and link configuration files to a github repository) and also setup some toolboxes for development. With one command/step, like running Ansible.
Check ublue approach like for example in this repo: https://github.com/ublue-os/beyond
In other words, leverage native OCI containers.
Thank you, looks very interesting.
According to the readme one has to login and issue commands at the shell - is there a way to use a kickstart file/some kind of provisioning tool like Ansible with native support for rpm-ostree?
Yeah, look at the examples here: https://github.com/coreos/layering-examples for an ansible example.
Though some modules don’t work (the flatpak one doesn’t work unfortunately). This is also useful: https://github.com/j1mc/ansible-silverblue
Hope it helps!
Thanks a lot, will check your links tonight. I’ll try to wrap my head around why Ansible doesn’t work OOTB, given Red Hats involvement with Fedora and Ansible. Am I the only who tries to use Silverblue as cattle instead of a desktop pet?!
Have you looked into NixOS instead of silverblue?
Came here to say this. NixOS does exactly what you want built in and has a lot of the same advantages as silverblue
Reusing my other answer: Thanks, I am mostly motivated by having less work using an immutable operating system. ;-)
To elaborate more: By now I want an OS that is stable, has updates automatically in the background and just a reboot away. NiXOS sounds like too much work for too little benefit for my current usage/use cases.
Yes, I do this with Ansible :).
There are Flatpak modules and gsettings modules to set up Gnome to your liking.
I also build my own toolbox using ansible-container.
You can see Universal Blue’s custom images feature to set up an automatic image building system. You would no longer need to layer stuff since it would get cleanly built into your image already, and you can modify a list of Flatpaks to be installed on install time. You can then use Fleek with Nix to manage your dotfiles.