Skip to content

Commit

Permalink
feat: add yafti for first boot (ublue-os#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoceppi authored Mar 16, 2023
1 parent 83e0665 commit 5cea3ff
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 6 deletions.
6 changes: 4 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ COPY --from=docker.io/bketelsen/apx:latest /usr/share/apx /usr/share/apx
ADD packages.json /tmp/packages.json
ADD build.sh /tmp/build.sh

RUN /tmp/build.sh \
RUN /tmp/build.sh && \
pip install --prefix=/usr yafti && \
systemctl unmask dconf-update.service && \
systemctl enable dconf-update.service && \
systemctl enable rpm-ostree-countme.service && \
Expand All @@ -35,7 +36,8 @@ RUN /tmp/build.sh \
sed -i 's/#DefaultTimeoutStopSec.*/DefaultTimeoutStopSec=15s/' /etc/systemd/system.conf && \
rm -rf /tmp/* /var/* && \
ostree container commit && \
mkdir -p /var/tmp && chmod -R 1777 /var/tmp
mkdir -p /var/tmp && \
chmod -R 1777 /var/tmp

# K8s tools

Expand Down
77 changes: 77 additions & 0 deletions etc/yafti.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
title: Welcome to uBlue
actions:
pre:
- run: /usr/bin/flatpak remote-delete flathub --force
- run: /usr/bin/flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- run: /usr/bin/flatpak remove --system --noninteractive --all
- run: /usr/bin/flatpak remote-delete fedora --force
screens:
first-screen:
source: yafti.screen.title
values:
title: "Welcome to uBlue"
icon: "/path/to/icon"
description: |
Pick some applications to get started
applications:
source: yafti.screen.package
values:
title: Application Installation
show_terminal: true
package_manager: yafti.plugin.flatpak
groups:
Core:
description: Core Applications
packages:
- Backup: org.gnome.DejaDup
- Calculator: org.gnome.Calculator
- Extensions: com.mattjakeman.ExtensionManager
- Firefox Browser: org.mozilla.firefox
- Flatseal: com.github.tchx84.Flatseal
- Font Downloader: com.gustavoperedo.FontDownloader
Gaming:
description: "ROCK & STONE"
packages:
- Bottles: com.usebottles.bottles
- Discord: com.discordapp.Discord
- Games: org.gnome.Games
- Heroic Games Launcher: com.heroicgameslauncher.hgl
- MangoHUD: org.freedesktop.Platform.VulkanLayer.MangoHud
- Steam: com.valvesoftware.Steam
- Gamescope for Steam: com.valvesoftware.Steam.Utility.gamescope
- Proton Updater for Steam: net.davidotek.pupgui2
Office:
description: Bow to Capitalism
packages:
- Calendar: org.gnome.Calendar
- LibreOffice: org.libreoffice.LibreOffice
- Obsidian: md.obsidian.Obsidian
- OnlyOffice: org.onlyoffice.desktopeditors
- Slack: com.slack.Slack
- Standard Notes: org.standardnotes.standardnotes
- Thunderbird Email: org.mozilla.Thunderbird
Streaming:
description: Stream to the internet
packages:
- OBS Studio: com.obsproject.Studio
- VkCapture for OBS: com.obsproject.Studio.OBSVkCapture
- Gstreamer for OBS: com.obsproject.Studio.Plugin.Gstreamer
- Gstreamer VAAPI for OBS: com.obsproject.Studio.Plugin.GStreamerVaapi
- Boatswain for Streamdeck: com.feaneron.Boatswain
Developer:
description: DEVELOPERS, DEVELOPERS, DEVELOPERS
packages:
- Visual Studio Code: com.visualstudio.code
- Rust SDK Extension: org.freedesktop.Sdk.Extension.rust-stable
- PHP SDK Extension: org.freedesktop.Sdk.Extension.php74
- OpenJDK SDK Extension: org.freedesktop.Sdk.Extension.openjdk17
- Node.JS SDK Extension: org.freedesktop.Sdk.Extension.node18
- Go SDK Extension: org.freedesktop.Sdk.Extension.golang
- .NET Core SDK Extension: org.freedesktop.Sdk.Extension.dotnet7
final-screen:
source: yafti.screen.title
values:
title: "All done"
icon: "/path/to/icon"
description: |
Thanks for installing, join the community, next steps
9 changes: 5 additions & 4 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@
"all": [
"gnome-shell-extension-appindicator",
"gnome-shell-extension-dash-to-dock",
"gnome-shell-extension-blur-my-shell",
"gnome-shell-extension-gsconnect",
"nautilus-gsconnect",
"gnome-shell-extension-blur-my-shell",
"gnome-shell-extension-gsconnect",
"nautilus-gsconnect",
"libgda",
"libgda-sqlite",
"libratbag-ratbagd",
"podman-docker",
"podman-compose",
"python3-pip",
"tailscale",
"wireguard-tools",
"xprop",
"yaru-theme"
]
]
},
"exclude": {
"all": [
Expand Down

0 comments on commit 5cea3ff

Please sign in to comment.