Commit Graph

840 Commits

Author SHA1 Message Date
Nate Graham
b6ba05c066 Pre-install Tk
Resolves #419

Adds about 23 MiB to the image (half from Tk, and half from Tcl, which
it pulls in as a dependency).
2025-12-01 08:19:52 +00:00
l10n daemon script
c8d5782fff GIT_SILENT made messages (after extraction) 2025-11-30 00:41:11 +00:00
l10n daemon script
5474e6de13 GIT_SILENT made messages (after extraction) 2025-11-28 00:41:07 +00:00
Nate Graham
bb201ad096 Don't put things in usr/share/factory/etc in mkosi.extra
If we put them in etc/ instead, they'll be copied to
usr/share/factory/etc/ anyway, so let's not have two ways to do the same
thing.
2025-11-25 22:21:56 -07:00
Nate Graham
8760327b6c Properly configure GeoClue
At one point[1], the /etc/geoclue/geoclue.conf file that came with the
geoclue package turned on BeaconDB as a Wi-Fi source by default.

However after some package updates, now it no longer does, causing the
service to be misconfigured and dump billions of errors in the journal
log (to be precise, one every five minutes, forever).

Let's ship our own configuration file to provide some sane vendor
defaults to fix the issue and prevent it from happening again.

Fixes #436

[1] https://invent.kde.org/kde-linux/kde-linux/-/issues/221#note_1276801
2025-11-25 22:04:54 -07:00
Thomas Duckworth
e708d2f0a4 Remove REUSE entries for since-deleted udev rules
These were removed in a65fcecfc3, remove their REUSE.toml entries too.
2025-11-24 21:52:40 +11:00
Thomas Duckworth
045947e27d Set up speech-dispatcher for the Firefox flatpak
It doesn't work by default in the Firefox flatpak. Set it up so it can for visually impaired users. This will also suppress the error message that often shows up, warning the user that it won't work.
2025-11-22 16:05:15 +11:00
Thomas Duckworth
8299e7c3bf Keep the last 4 .caibx and .erofs images
This keeps it in sync with the max instances setting for .efi images, ensuring all retained previous images are bootable.
2025-11-22 12:58:33 +11:00
Thomas Duckworth
2a96785821 Unduplicate udev package cleanup code
Two backup directories for each package don't need to exist. Combine them into the one.
2025-11-21 18:27:08 +11:00
Thomas Duckworth
ac609adc68 Install solaar udev rules
Allows the solaar flatpak to work. Installs the solaar package, then uninstalls it while preserving its udev rules to ensure they are kept up to date.

Resolves https://invent.kde.org/kde-linux/kde-linux/-/issues/429
2025-11-21 05:46:25 +00:00
Thomas Duckworth
a65fcecfc3 Ensure the sane udev rules are up to date
Installs the sane package, then uninstalls it while preserving its udev rules. This ensures the udev rules are kept up to date without including the rest of the package.
2025-11-20 19:42:35 +11:00
Thomas Duckworth
f7627c7068 Rename samba.conf tmpfile to sambaprivate.conf
Naming it samba.conf replaces the pre-existing samba.conf shipped with the package, breaking it.
2025-11-20 17:42:30 +11:00
Nate Graham
060a26de67 Put new users in "sambashare" group by default
Part of https://invent.kde.org/kde-linux/kde-linux/-/issues/275, and
supported by https://invent.kde.org/plasma/plasma-setup/-/issues/33.
2025-11-19 12:52:22 -07:00
Thomas Duckworth
0e69ccf513 Preinstall Browser Integration into Firefox
Sets up the plumbing to use Firefox policies, and uses this to preinstall Plasma Browser Integration into Firefox.

See https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson for the mechanism that provides this functionality.
2025-11-17 19:24:02 +11:00
Hadi Chokr
28e2246bcf Dont use deprecated Identifier @Enviroment 2025-11-14 09:26:06 +00:00
Thomas Duckworth
2907dfaa04 Ensure the Samba message socket directory exists
Fixes smb.service crashing on startup.
2025-11-13 16:37:27 +11:00
Nate Graham
336c4d92db Pre-install tesseract
Needed for Spectacle's new OCR feature. It's currently marked as an
optional dependency; see
https://invent.kde.org/sysadmin/repo-metadata/-/merge_requests/643
2025-11-12 13:08:28 -07:00
Hadi Chokr
7f3f03a19f Add openrazer-daemon
Preinstalls the drivers and deamons for razer hardware.

Closes #416
2025-11-12 20:06:12 +00:00
Nate Graham
72c11b9222 Pre-install pipewire-roc and pipewire-v4l2
There are the last two pipewire audio support packages that we weren't
pre-installing.

This will increase the image size by 4.8 MiB.

Resolves #418
2025-11-10 23:17:31 -07:00
Nate Graham
595a3df0f6 Alphabetize sound package list 2025-11-10 23:17:31 -07:00
Nate Graham
5990fd814f Only pre-install KWrite by default; remove Kate
Kate is a superset of KWrite; it's somewhat redundant to pre-install
both. Let's do only KWrite since it's simpler for more general-purpose
usage. Developers who want to use Kate for technical work can find it
easily enough.

Resolves #420 blaze
2025-11-10 19:54:30 -07:00
l10n daemon script
084de76a03 GIT_SILENT made messages (after extraction) 2025-11-10 00:41:35 +00:00
Nate Graham
b61072394c Pre-install KCalc
It's quite common for operating systems to include a calculator app.
KRunner can do basic math, but this is somewhat hidden, and can't
replace the full functionality of a calculator app. Let's include KDE's
flagahip calculator app, KCalc.

Resolves #344
2025-11-08 19:05:35 -07:00
Nate Graham
5e86648f18 Pre-install Qrca flatpak
It's required for "connect to Wi-Fi via QR code" functionality just
merged into plasma-nm, and explicitly recommended in
https://community.kde.org/Distributions/Packaging_Recommendations
2025-11-08 08:12:02 -07:00
Thomas Duckworth
eff1079793 Only force enable hardware video decode for NVIDIA
Enabling `media.hardware-video-decoding.force-enabled` for all video cards, not just NVIDIA ones, can lead to breakages where Mozilla's blacklist disables hardware video decode for a legitimate reason. Conditionally enable hardware decode if a NVIDIA card is present, and disable it otherwise.
2025-11-08 19:44:13 +11:00
Thomas Duckworth
8dc3a1cbf9 Copy Firefox config instead of symlink
Flatpaks can't read symlinks that aren't within their sandbox.
2025-11-05 16:55:05 +11:00
Hadi Chokr
eef11346b3 Create a Boot Entry on Install instead of relying on the UEFI Implementation.
Closes #403
2025-11-04 11:59:53 +00:00
Thomas Duckworth
54f2dd6418 Ensure accent colors are applied to Firefox
Allows Firefox read-only access to Gtk-3.0 system stylesheets, thus allowing it to read the accent color.
2025-11-04 16:37:14 +11:00
Thomas Duckworth
c7fb698c52 Ensure the correct codecs-extra version is used
org.freedesktop.Platform.codecs-extra//25.08 doesn't exist, it's 25.08-extra
2025-11-04 16:36:37 +11:00
Thomas Duckworth
80e1f41aff Set up hardware acceleration for the Firefox flatpak
Enables full hardware acceleration, ensuring it works on NVIDIA.

See https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig and https://docs.flatpak.org/en/latest/extension.html#unmaintained-flatpak-extensions for the mechanisms that provide this functionality.
2025-11-04 16:07:13 +11:00
Nate Graham
ed6c46c3ec Allow normal set of Flatpak languages for pre-installed apps
Run a repair after installation, which will install the localization
packages we deliberately omitted from the live session.

Fixes #353
2025-11-03 21:32:39 -07:00
Nate Graham
22c924b6b8 Pre-install hunspell
Needed for KRunner's spellchecker plugin, and also so the hspell package
we already pre-install actually works.

Fixes #385, at least for English. We'll need to pre-install all the
language-specific packages to make it work for more languages. They can
be quite large, so let's leave that for discussion at a later date.
2025-11-03 18:02:40 -07:00
Hadi Chokr
c7360725cd Merge branch 'master' into 'work/ngraham/scanners-minimal'
# Conflicts:
#   REUSE.toml
2025-11-03 13:51:28 +00:00
Thomas Duckworth
f19c1006dd Make zsh nicer to use by default
Add a default .zshrc in /etc/skel with sane defaults, to avoid
zsh-newuser-install, as well as adding a nicer default prompt.

Fixes #408
2025-11-02 22:26:10 -07:00
Nate Graham
da8aae3d2f Add udev rules from sane package
The whole package is overkill; literally all we need are the udev rules.
So just add them specifically.

Resolves #250
2025-11-02 22:15:21 -07:00
Thomas Duckworth
10e5980778 Use nano for $EDITOR instead
nano is preinstalled and is much more user friendly than vim, as well as it being the editor OOTB on most other distros.
2025-11-03 14:43:32 +11:00
Nate Graham
1bdc3d0a73 Add "lazytime" to root FS mount flags
This reduces writes for access time writes below even what relatime
provides. Both co-exist, and lazytime goes a bit further.
2025-11-02 19:20:22 +01:00
Thomas Duckworth
a4ca3c838f Pre-install bluez-obex
Ensures Bluetooth file sharing works OOTB.
2025-11-02 07:15:45 -07:00
Nate Graham
c41c8aa969 Pre-install wireguard-tools
Some VPN implementations need these, and for those that don't, it's nice
to be able to control them using the CLI.

Resolves #196
2025-11-01 12:06:10 -06:00
Nate Graham
d9d0e9796e Make the default shell of the Calamares-created user ZSH too
If we want Calamares to look in /etc/default/useradd to determine the
default shell, we need to explicitly opt into that. According to
https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/users/users.conf#L222-L223,
this is how we do it.

Related to #378
2025-10-31 22:19:39 -06:00
Nate Graham
1c19436318 Pre-install words
Useful dictionary files
2025-10-31 20:11:25 -06:00
Akseli Lahtinen
a0d57ac79b Add lldb
This adds the lldb debugger which is a debugger for many LLVM based
languages, such as Odin and Zig.

It also comes with lldb-dap which is used from Kate for these languages
2025-11-01 02:13:04 +02:00
Akseli Lahtinen
ca41eee154 Pre-install fzf
fzf is a fuzzy-finder tool that can integrate with zsh and other shells,
which can be used for example searching your shell history
2025-10-30 21:46:09 +02:00
Fabio Bas
91f81f7ed6 Pre-install lvm2 2025-10-30 17:37:20 +01:00
Nate Graham
c262e86b2c Pre-install iotop and iw
They're useful, and we already have CLI config tools for other kinds of
devices.

This adds approximately 500 KB to the base image.
2025-10-24 13:13:31 -06:00
Nate Graham
327c5d5e9e Format kde-builder.yaml file a bit more nicely
No need to have all the CMake options on one line; multi-line is more
readable.
2025-10-22 19:05:10 -06:00
l10n daemon script
0ea2792e02 GIT_SILENT made messages (after extraction) 2025-10-20 00:41:05 +00:00
Hadi Chokr
b76975045e Small Bugfix. 2025-10-18 22:11:18 -06:00
l10n daemon script
444e7c0cce GIT_SILENT made messages (after extraction) 2025-10-18 00:41:03 +00:00
Nate Graham
79c829aae8 Move helper scripts from bin to lib
Also remove the _kde-linux prefix for the two scripts intentionally left
in bin.

Resolves #166
Resolves #391
2025-10-16 17:30:47 -06:00