https://blue-build.org/ logo
Yafti configuration
# questions
u
Copy code
applications:
  source: yafti.screen.package
  values:
    title: Application Installer
    show_terminal: true
    package_manager: yafti.plugin.flatpak
    package_manager_defaults:
      user: false
      system: true
    groups:
      Core GNOME Apps:
        ...
      System Apps:
        ...
      Development Tools:
        description: Install essential development tools.
        default: false
        actions:
          - run: |
              curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
              # Add Rust to the system path
              source $HOME/.cargo/env
          - run: |
              ZIG_VERSION="0.11.0"
              wget https://ziglang.org/download/$ZIG_VERSION/zig-linux-x86_64-$ZIG_VERSION.tar.xz
              tar -xf zig-linux-x86_64-$ZIG_VERSION.tar.xz
              sudo mv zig-linux-x86_64-$ZIG_VERSION /opt/zig
              sudo ln -s /opt/zig/zig /usr/local/bin/zig
a
message has been deleted
u
would this be sufficient for them to be installed
not sure about the yafti structure
g
For the zig binary? I'm unsure if yafti would be able to handle commands with sudo, but if it can this looks fine
u
I thought it's a good solution to avoid using rpm-ostree packages due to their updating nature
and I can't use scripts either, since it has to install into user's directory
a
can't you use brew/mise?
u
I can install apps using brew while image is building?
i thought it's not possible if I remember correctly, blue build just installs homebrew
a
well yafti doesnt either too? you can use systemd oneshot to install runtime apps
u
hmm I remember them saying I shouldn't but yeah I'll try lol
a
if you want to optionally install then yafti is fine, but if you want app is always installed then thats the way
u
alright then I'll try
sth like this?
Copy code
Programming Languages:
          description: Choose programas to install.
          default: false
          packages:
            - Rust: |
                brew install rust
            - Zig: |
                brew install zig
            - Go: |
                brew install go
            - Node.js: |
                brew install node
            - Python: |
                brew install python
x
there's rustup for rust, etc, many 'better' ways to install language toolchains
that works though, of course
2 Views