From 83088714f1acc3273930f0f1a0f44f9341b42749 Mon Sep 17 00:00:00 2001 From: Erki Date: Sun, 6 Oct 2024 23:05:22 +0300 Subject: [PATCH] Initial custom package loadout: virtualization, smartgit, Steam --- recipes/common-flatpaks.yml | 9 ++++++++ recipes/common-rpms.yml | 25 +++++++++++++++++++++ recipes/common-systemd.yml | 5 +++++ recipes/recipe.yml | 45 +++++-------------------------------- 4 files changed, 45 insertions(+), 39 deletions(-) create mode 100644 recipes/common-flatpaks.yml create mode 100644 recipes/common-rpms.yml create mode 100644 recipes/common-systemd.yml diff --git a/recipes/common-flatpaks.yml b/recipes/common-flatpaks.yml new file mode 100644 index 0000000..5686585 --- /dev/null +++ b/recipes/common-flatpaks.yml @@ -0,0 +1,9 @@ +type: default-flatpaks +notify: true +system: + repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo + repo-name: flathub + repo-title: "Flathub (system-wide)" + install: + - com.valvesoftware.Steam + - com.syntevo.SmartGit diff --git a/recipes/common-rpms.yml b/recipes/common-rpms.yml new file mode 100644 index 0000000..427dc9c --- /dev/null +++ b/recipes/common-rpms.yml @@ -0,0 +1,25 @@ +type: rpm-ostree +repos: + - https://download.docker.com/linux/fedora/docker-ce.repo + - https://packages.microsoft.com/yumrepos/vscode/config.repo +keys: + - https://download.docker.com/linux/fedora/gpg + - https://packages.microsoft.com/keys/microsoft.asc +install: + - btop + - docker-ce + - docker-ce-cli + - containerd.io + - docker-buildx-plugin + - docker-compose-plugin + - code +# @virtualization + - virt-install + - libvirt-daemon-config-network + - libvirt-daemon-kvm + - qemu-kvm + - virt-manager + - virt-viewer + - libguestfs-tools + - python3-libguestfs + - virt-top diff --git a/recipes/common-systemd.yml b/recipes/common-systemd.yml new file mode 100644 index 0000000..5af6afa --- /dev/null +++ b/recipes/common-systemd.yml @@ -0,0 +1,5 @@ +type: systemd +system: + enabled: + - docker.service + - libvirtd diff --git a/recipes/recipe.yml b/recipes/recipe.yml index 34b2ab9..3db625f 100644 --- a/recipes/recipe.yml +++ b/recipes/recipe.yml @@ -1,48 +1,15 @@ # image will be published to ghcr.io// -name: template +name: enclave-laptop # description will be included in the image's metadata -description: This is my personal OS image. +description: OS image for daily laptop using. # 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/kinoite-nvidia 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 / - - - 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: signing # this sets up the proper policy & signing files for signed images to work fully - + - from-file: common-rpms.yml + - from-file: common-flatpaks.yml + - from-file: common-systemd.yml