Yafti configuration

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
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
Solution:
well yafti doesnt either too? you can use systemd oneshot to install runtime apps
Jump to solution
11 Replies
thaleous
thaleousOP4mo ago
would this be sufficient for them to be installed not sure about the yafti structure
Luke Skywunker
Luke Skywunker4mo ago
For the zig binary? I'm unsure if yafti would be able to handle commands with sudo, but if it can this looks fine
thaleous
thaleousOP4mo ago
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
asen23
asen234mo ago
can't you use brew/mise?
thaleous
thaleousOP4mo ago
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
Solution
asen23
asen234mo ago
well yafti doesnt either too? you can use systemd oneshot to install runtime apps
thaleous
thaleousOP4mo ago
hmm I remember them saying I shouldn't but yeah I'll try lol
asen23
asen234mo ago
if you want to optionally install then yafti is fine, but if you want app is always installed then thats the way
thaleous
thaleousOP4mo ago
alright then I'll try
thaleous
thaleousOP4mo ago
sth like this?
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
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
xyny
xyny4mo ago
there's rustup for rust, etc, many 'better' ways to install language toolchains that works though, of course
Want results from more Discord servers?
Add your server