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.

9 points

Check ublue approach like for example in this repo: https://github.com/ublue-os/beyond

In other words, leverage native OCI containers.

permalink
report
reply
2 points

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?

permalink
report
parent
reply
4 points

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!

permalink
report
parent
reply
2 points

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?!

permalink
report
parent
reply
6 points
Deleted by creator
permalink
report
reply
6 points

Have you looked into NixOS instead of silverblue?

permalink
report
reply
5 points

Came here to say this. NixOS does exactly what you want built in and has a lot of the same advantages as silverblue

permalink
report
parent
reply
3 points

Thirded – OP described a usecase for NixOS perfectly.

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
2 points

If you want to automate your installation there’s going to be work involved no matter what you use to achieve it

NixOS is actually quite stable provided you don’t use the unstable branch

permalink
report
parent
reply
3 points

lol … I give up - installing NixOS in a VM right now. ;-)

permalink
report
parent
reply
6 points

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.

permalink
report
reply
1 point

Perfect, this was the answer I was looking for! :-)

permalink
report
parent
reply
5 points

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.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.7K

    Monthly active users

  • 6.5K

    Posts

  • 179K

    Comments