Commit graph

107 commits

Author SHA1 Message Date
xynydev
2fd0898d85 chore: remove BLING_DIRECTORY envvar
superseded by use of MODULE_DIRECTORY
2024-01-27 17:58:20 +02:00
xynydev
c48217b54d chore: remove ublue-os-wallpapers 2024-01-27 17:44:11 +02:00
xynydev
111466c16c feat: include files in yafti module 2024-01-24 18:42:34 +02:00
xynydev
0b611a5238 chore: remove devpod module
- tries to install nonexistant rpm
2024-01-24 18:26:15 +02:00
xynydev
32e34767f4 docs: update bling module readme 2024-01-24 18:09:51 +02:00
xynydev
f7efe1d461 chore: remove deprecated/unfunctional bling 2024-01-24 18:07:33 +02:00
xynydev
d8b73c0a5c refactor: move bling files to bling module 2024-01-24 18:05:22 +02:00
xynydev
53e8fb3e2b refactor: move default-flatpaks files to module directory 2024-01-24 17:55:51 +02:00
fiftydinar
8b8fcd3144
fix(akmods): Xone installs conflicted "akmod-xone" package (#102)
* fix(akmods): Xone installs conflicted "akmod-xone" package

This sets higher priority for `akmods repo` compared to `multimedia repo`, which should fix potential issues in the future for other akmods too.

Thanks to the debugging done here:
https://github.com/ublue-os/akmods/pull/116

* fix(akmods): There is no need to revert to default, as it doesn't cause issues

On the other side, enabled multimedia repo afterwards causes issues.

* chore(akmods): Format function spacing same as other 2 functions

* chore(akmods): Make ENABLE_MULTIMEDIA_REPO more readable
2024-01-24 10:45:05 +00:00
fiftydinar
fe9cd68c6a
fix(default-flatpaks): Install/uninstall system flatpaks regardless i… (#100)
* fix(default-flatpaks): Install/uninstall system flatpaks regardless if current user has permissions or not

Fixes: https://github.com/ublue-os/bling/pull/93

To make notify-send working for --system systemd units, I have to thank @gerblesh for his code & idea in ublue-updater.

I tested this in Silverblue & it works.
However, I would like this to be tested in other DEs like Kinoite too, to see if it's working correctly.

Feel free to improve code if you find some space for that.

@lorduskordus

* Use json parser instead as a more reliable solution on fetching values

* There is no need for echo when parsing json

* Fetch DISPLAY environment variable from printenv

* Make functions for notify-sends, to make script clearer

* Whiteline fixes
2024-01-20 16:38:51 +00:00
Nick Saika
17bacbe3da
fix: Fix flag ordering in set calls in scripts (#99)
The README for scripts has an incorrect use of the `set`. Where it says
to use:

	set -oue pipefail

it should be:

	set -euo pipefail

since `pipefail` is an option consumed by `set -o`.

More information: https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
2024-01-16 06:12:08 +00:00
fiftydinar
ed83ff5ec2 fix(akmods): Failure when installing akmods from multimedia repo 2024-01-14 23:54:02 +01:00
fiftydinar
e8272a4dd1
feat: Add akmods module (#89)
* feat: Add kmods installer module

Credits: @C0dePlayer

This is not ideal as it does not support custom kernels & it involves editing Containerfile.

I believe there is no other way but to make users edit Containerfile for those files to be even pulled of.

I would like this to be through the recipe only, so I will put this as a draft until some better ideas come.

* Rename kmods installer to akmods

* Update README

Address: 

https://github.com/ublue-os/startingpoint/pull/212#issuecomment-1870156327

https://github.com/ublue-os/bling/pull/89#discussion_r1436890002

* Fix README typo

* Remove non-needed space for yml in README

* Add support for Surface & Asus images

* Clarify tagged base image warning better

* Clarify tagged base image warning better pt.2

* There is no need to fetch main-nvidia build for now

* Use simpler =~ for conditioning instead of grep & sed

This finally fixes akmods module

* Install kernel-devel-matched for all builds

* Assure that Surface installs their version of kernel-devel-matched

* Mention that framework images can be used as a base

* Delete duplicate warning message

* Remove non-needed explanation on why only Universal Blue builds are supported

* Clarify 1st warning better

* Clarify `main` akmods compatibility better

This would avoid editing README if some other compatible image gets announced or discontinued.

* docs(akmods): grammar fixes

* docs: add link to akmod tag matrix

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-01-14 16:45:20 +00:00
xyny
dc60cfaa42
fix(gnome-vrr): use correct version variable (#94) 2023-12-31 10:44:09 +00:00
fiftydinar
33226b9b73
feat(systemd): Add support for unmasking & masking units (#88)
* feat(systemd): Add support for masking services

* Use unit term in README

* Fix README grammar

* Note about unmasking

* Fix typo in README

* Add unmask & more info about systemctl commands

Address:

https://github.com/ublue-os/bling/pull/88#discussion_r1436877565

https://github.com/ublue-os/bling/pull/88#discussion_r1436917124

* docs: clarify purpose of unmasking

* docs: Fix systemd module README typo

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2023-12-31 10:31:49 +00:00
fiftydinar
f08f1b26d1
Update README.md 2023-12-29 02:18:35 +01:00
fiftydinar
d32dc2ed2d fix(default-flatpaks): Clarify branched flatpaks support better 2023-12-28 21:24:55 +01:00
fiftydinar
ec020cd2ca
fix(default-flatpaks): Missing notification for system flatpaks (#87)
* fix:(default-flatpaks): Missing notification for system flatpaks

This approach, while more fragmented, it's cleaner, as there is a clearer separation of root & non-root operations done by flatpak-setup service. This should probably increase security too (but I'm not the expert to talk seriously about that). It also gets rid of some non-harming error for /var data, can't remember it fully.

While it may be confusing for users that they have to type:

`systemctl status --user system-flatpak-setup`

instead of previous:

`systemctl status system-flatpak-setup`

It is something worth sacrificing for the important user-experience fix.
2023-12-27 09:12:49 +00:00
xyny
8d59b2a3ec
fix(default-flatpaks): (again) do the yq notify step right
for real this time
2023-12-22 11:30:06 +00:00
xyny
f67cfce6d5
fix(default-flatpaks): get notify config from right var? 2023-12-22 05:04:57 +00:00
fiftydinar
bd92e7e5c5
feat(default-flatpaks): Add info about which flatpaks are installed (#85)
* feat(default-flatpaks): Add info about which flatpaks are installed & uninstalled in notification. Also implement notification enable/disable config support.

* feat(default-flatpaks): Add support for configuring notifications in recipe file

* fix(default-flatpaks): Formatting fixes

* fix(default-flatpaks): Fix "enabling" typo instead of "configuring" notifications

* chore(default-flatpaks): Remove unused yq command

* fix(default-flatpaks): There is no need for 2 double quotes
2023-12-21 20:34:33 +00:00
Micah Abbott
623834bb3b
chore: force create firstboot symlink in yafti module (#82)
I switched my custom ublue image from using
"ublue-os/silverblue-nvidia" to "ublue-os/bazzite-gnome-nvidia" and
received the following error when the build action kicked off:

`ln: failed to create symbolic link '/usr/etc/profile.d/ublue-firstboot.sh': File exists`

The yafti module should be the only thing creating this symlink, so it
should be safe to use the `-f` flag to force creating it.

Signed-off-by: Micah Abbott <miabbott@redhat.com>
2023-12-21 05:59:33 +00:00
fiftydinar
dbc867ff55 Indicate that module skips flatpak install/uninstall if no changes are detected 2023-12-20 11:24:00 +01:00
fiftydinar
07f1797838 Delete some README misinformation
It will loop on every boot to install & uninstall
2023-12-20 10:15:14 +01:00
fiftydinar
09af3b3602 Tiny README fix 2023-12-20 09:59:50 +01:00
fiftydinar
bf753ad0b6 Update README information to reflect these changes 2023-12-20 09:54:12 +01:00
Nadav Spiegelman
7eae821110 fix: make laptop work without justfiles
Make sure /usr/share/ublue-os/just/bling exists in case we're using
`laptop` without `justfiles`
2023-11-24 14:12:33 -05:00
Patrick Csikos
f0c0192e10
feat(default-flatpaks): Better handle multiple uses of module (#74)
* fix(default-flatpaks): Always enable systemd services

Ensures that the module always removes Fedora Flatpaks, even if a
system-wide flatpak remote isn't configured for the module.

* chore(default-flatpaks): Add output for result of repo config

* fix(default-flatpaks): Better handle multiple uses of module

* chore(default-flatpaks): Add label to output of existing config

* docs(default-flatpaks): Mention that Flatpak remote can be re-configured

* docs(default-flatpaks): Add second example to README

* docs(default-flatpaks): Clarify repo config in second example
2023-11-18 12:43:55 +00:00
plata
f180516a60
chore: fix bling descriptions in example config (#71) 2023-11-01 12:19:35 +00:00
bri
206291f072
feat(1password): add 1password to readme
chore: remove redundant spaces
2023-10-29 20:30:34 -04:00
bri
07d322dddf
feat(1password): allow overriding RELEASE_CHANNEL 2023-10-24 21:34:08 -04:00
bri
fe903b9cce
feat: add 1Password 2023-10-24 19:27:33 -04:00
xyny
a21e245279
feat: flatpaksync submodule (#62) 2023-10-22 10:04:32 +00:00
xynydev
7fb5eed708 docs: detail & misc changes to flatpaksync docs 2023-10-22 12:52:58 +03:00
xynydev
96311d98d9 chore: rename GIST_REPO to GIT_REPO 2023-10-22 12:41:00 +03:00
xyny
772d69ac73
docs: add extra indentation to the list in script README
MkDocs has some odd MD parsing going on, and lists just need to be this bit deeper...
2023-10-22 09:32:44 +00:00
Patrick Csikos
d83d721c18
docs(default-flatpaks): Make example config match other modules (#65)
* docs(default-flatpaks): Make example config match other modules

* docs(default-flatpaks): Indent list items in example config

Does seem to work if they aren't indented, but this way matches other
modules and seems to be best practice
2023-10-22 09:16:42 +00:00
zelikos
66d2ba8d94
fix(default-flatpaks): Set BLING_DIRECTORY fallback value
...instead of overriding
2023-10-21 16:08:22 -04:00
zelikos
ee196a0528
fix(default-flatpaks): Intialize BLING_DIRECTORY variable 2023-10-21 15:53:06 -04:00
xyny
7104111352
feat: default-flatpaks module 2023-10-21 10:25:52 +00:00
xyny
5e6bc4c7ae
docs(default-flatpaks): put essential function first 2023-10-21 10:24:09 +00:00
zelikos
1c203cb6dd
fix(default-flatpaks): Only enable system/user services if respective repo is configured 2023-10-14 13:08:51 -04:00
zelikos
8bc41e6077
fix(default-flatpaks): Check that system/user configuration is present 2023-10-14 12:50:47 -04:00
zelikos
8251083a5c
style: Improve readability of default-flatpaks functions 2023-10-14 11:56:49 -04:00
zelikos
a4b8151e28
docs: Clarify default-flatpaks remote configuration 2023-10-14 11:44:44 -04:00
zelikos
30931ed9c2
fix: Use Flathub as default remote for default-flatpaks 2023-10-14 11:43:13 -04:00
zelikos
c02b399bf6
fix(default-flatpaks): Check if repo-info already exists before creating 2023-10-14 11:32:55 -04:00
xyny
66b4a359e7
docs: chore: remove mention of flatpaksync.md, which doesn't exist 2023-10-14 09:56:34 +00:00
xyny
462a12f5ad
chore: delete special flatpaksync documentation file 2023-10-14 09:54:11 +00:00
xyny
6fdfffcb69
docs: chore: include submodule documentation in the main bling README
There's a lot of bling "submodules" that might require documentation. Including them inside the same README is beneficial, because it makes the appear on the ublue website too, and their documentation is often not that long.
2023-10-14 09:53:40 +00:00