Skip to content

Commit

Permalink
feat: install optimot
Browse files Browse the repository at this point in the history
  • Loading branch information
simon511000 committed Jul 23, 2024
1 parent 0ff5082 commit 7322074
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 40 deletions.
4 changes: 1 addition & 3 deletions files/scripts/example.sh → files/scripts/optimot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@
# builds actually ran successfully without any errors!
set -oue pipefail

# Your code goes here.
echo 'This is an example shell script'
echo 'Scripts here will run during build if specified in recipe.yml'
yes 1 | sudo sh -c "$(curl -fsSL https://steevelefort.github.io/optimot-install/install.sh)"
Empty file removed files/system/usr/.gitkeep
Empty file.
41 changes: 4 additions & 37 deletions recipes/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,48 +4,15 @@ name: meow-os
description: This is my personal OS image.

# the base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/silverblue-main
base-image: ghcr.io/ublue-os/aurora-dx
image-version: 40 # latest is also supported if you want new updates ASAP

# module configuration, executed in order
# you can include multiple instances of the same module
modules:
- type: files
files:
- source: system
destination: / # copies files/system/* (* means everything inside it) into your image's root folder /
# put configuration files you want in /usr/etc/ inside the image
# while putting files in /etc/ is done on booted system by system administrators.
# read more about this in files module reference.

- type: rpm-ostree
repos:
# - https://copr.fedorainfracloud.org/coprs/atim/starship/repo/fedora-%OS_VERSION%/atim-starship-fedora-%OS_VERSION%.repo
install:
# - micro
# - starship
remove:
# example: removing firefox (in favor of the flatpak)
# "firefox" is the main package, "firefox-langpacks" is a dependency
# - firefox
# - firefox-langpacks # also remove firefox dependency (not required for all packages, this is a special case)

- type: default-flatpaks
notify: true # Send notification after install/uninstall is finished (true/false)
system:
# If no repo information is specified, Flathub will be used by default
# repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo
# repo-name: flathub
# repo-title: "Flathub (system-wide)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software
install:
# - org.mozilla.firefox
# - org.gnome.Loupe
# - one.ablaze.floorp//lightning # This is an example of flatpak which has multiple branches in selection (flatpak//branch).
# Flatpak runtimes are not supported (like org.winehq.Wine//stable-23.08),
# only normal flatpak applications are (like Floorp Lightning web browser in this example).
# Installing different branches of the same Flatpak is not supported.
remove:
# - org.gnome.eog
- type: script
scripts:
- optimot.sh

- type: signing # this sets up the proper policy & signing files for signed images to work fully

0 comments on commit 7322074

Please sign in to comment.