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.

    • wolf@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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?

        • wolf@lemmy.zipOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

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

          • j0rge@kbin.social
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            The OCI features are pretty new (they won’t hit Fedora until F40) so there’s catching up to do still. They’ll get there at some point, there’s just a vast amount of existing work out there that they need to account for.

  • aairey@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    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.

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      7
      arrow-down
      2
      ·
      1 year ago

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

    • wolf@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      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.

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        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

    • wolf@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

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

  • IverCoder@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    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.

  • Spore@lemmy.ml
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 year ago

    Definitely OT, but at this point you may want to checkout NixOS.

  • Cwilliams@beehaw.org
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    If your not scared of poor documentation, a born tinkerer, and have a lot of time on your hands, you should try Nix

    • wolf@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Thanks, I am mostly motivated by having less work using an immutable operating system. ;-)

  • Kwozyman@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Maybe I don’t understand the question, but what prevents you from adapting your Ansible playbooks to Fedora Silverblue? I assume for Debian at some point you have a “install packages” section which you should rewrite to use rpm-ostree or flatpak instead of apt-get; your dotfiles section should remain the same etc etc.

    • wolf@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      It seems mostly a lack of understanding on my part.

      I have a quite customized Debian setup (Ansible script grown over 10 years now), much more elaborate than just installing a handful of packages from the default repositories. With Ansible, I figured out how automate all but everything, setting up one of my desktops is typing one command, getting a coffee and stuff just works.

      For Silverblue now, it looks like the way to configure/use it is a mix of rpm-ostree, overlays, installing applications into toolbox containers (and moving their desktop files to the host system) … in theory, it sounds like a very nice separation/clean, in practice it sounds like a lot of work to arrive where I am right now with Debian.

      So… my big question: Has anyone using Silverblue an elaborate custom setup and an easy way to automate it to create cattle… or is Silverblue more like a pet thingy.

    • wolf@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Nice! Listening right now, and didn’t even know about this podcast! :-)