| Commit message (Collapse) | Author | Age |
|\
| |
| | |
nixos/plasma5: fix mismatch between nix and module system
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In https://github.com/NixOS/nixpkgs/pull/254071, a mismatch between usage of
the Nix language and the NixOS module system was introduced. By merging the
kwin_wayland wrapper attrset into the mkIf representation, the former was
effectively ignored.
As a result, the capability wrapper for kwin_wayland stopped being installed,
leading to realtime scheduling being disabled. The issue was not detected
because the behavioral change is very subtle.
By consistently using language-level constructs, this mismatch is resolved.
The capability wrapper is thus installed again and realtime scheduling is
restored.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[Motivation](https://github.com/NixOS/nixpkgs/issues/257817#issuecomment-1741705042):
- Having all the XKB options in the same attribute set clarifies their
relation better than using a common option name prefix ("xkb").
- `services.xserver.layout` is an XKB option, but this is not obvious
from its name. Putting it with the other XKB options clarifies this.
Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com>
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The module for Plasma 5 contained two pointless setuid wrappers:
* kscreenlocker_greet was introduced when the kscreenlocker package
dropped kcheckpass. However, this was actually replaced by making
proper use of PAM (which finally calls its unix_chkpwd setuid binary).
kscreenlocker_greet itself was never intended to be setuid.
Fortunately, this is not exploitable, because QCoreApplication
immediately aborts if it detects setuid. The wrapper is still
incorrect and pointless, so remove it.
* start_kdeinit can optionally use setuid root or setcap
CAP_SYS_RESOURCE to reduce its OOM killer score. However, with systemd
startup, start_kdeinit does not get used at all. So in this case, the
setuid wrapper is pointless, and so is removed as well. Ideally, the
case where systemd startup is not enabled would use a capability
wrapper instead, but since systemd startup is the default in NixOS and
kinit is deprecated upstream for KF6, I don't bother any more.
|
| |
|
| |
|
| |
|
|
|
|
| |
The code for this was actually removed in #172078.
|
| |
|
|
|
| |
Since the default plasma desktop already got dolphin-plugins adding ark for archiving would make plasma desktop more complete as well
|
|
|
|
|
|
|
|
|
| |
GDM and LightDM are already using this approach. It also allows us to
enable Kwallet integration more globally without generating stray PAM
services.
The default configuration of login service includes both options sddm
was setting explicitly.
|
|
|
|
|
|
|
|
|
|
| |
This removes two unused service configs from /etc/pam.d/ and, more
importantly, reduces confusion.
* kdm no longer exists in nixpkgs
* `pam.d/gdm` is not used by gdm
* `pam.d/lightdm` IS used by lightdm but hardcoded using .text rather
than attrset+template.
|
| |
|
| |
|
| |
|
|\
| |
| | |
nixos/plasma: leave `displayManager.setupCommands` alone
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit
https://github.com/NixOS/nixpkgs/commit/4832352d023fdd9546748f33c499034d722382ba
replaced the plasma5 session startup
script with its upstream version from the
`pkgs.libsForQt5.plasma5.plasma-workspace` package.
In the course of doing so, the old session startup script
wasn't removed, but got moved into the display manager
startup shell commands option `displayManager.setupCommands`.
This now causes those commands to be executed
whenever the configured display manager starts.
The old startup script performed some basic
initializations in the user's home directory.
With the new arrangement, the old startup script is run with
HOME=/, leading to a lot of clutter in the root filesystem
(entries like `/.config` or `/.gitrc-2.0`).
The commit at hand simply removes the
old session startup script completely,
and with it a lot of now unused code from the plasma5 module.
|
| | |
|
|\ \
| | |
| | | |
nixos/plasma5: make kpackage able to resolve dependencies
|
| |/
| |
| |
| | |
Horrible horrible hack, but what can you do.
|
| | |
|
|\ \ |
|
| |/
| |
| |
| | |
Some users don't want all >190 Noto fonts.
|
|\ \
| | |
| | | |
plasma5: allow pipewire-pulse instead of pulseaudio for mobile
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Plasma Mobile: Minor fixes
|
| | |
| | |
| | |
| | | |
This makes autorotate actually work.
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
`xdg-desktop-portal-kde` expects PipeWire to be running, so we enable it by
default, but we don't replace PulseAudio. The user may disable it against our
default, if desired.
|
|/
|
|
| |
This was missed when updating Plasma Mobile last time.
|
|
|
|
|
| |
This is required for plasma-remotecontrollers to actually work.
Make sure to also add your user to the `uinput` group.
|
| |
|
| |
|
|\
| |
| | |
oxygen-sounds: init at 5.25.3
|
| |
| |
| |
| |
| | |
These are the notification sounds used all over the place by Plasma
components.
|
| |
| |
| |
| | |
Upstream switched as of 5.25
|
| |
| |
| |
| | |
once again using nix-doc-munge (https://github.com/pennae/nix-doc-munge/commit/69d080323ae27c0d8da3967c62b925a9aedb2828)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
our xslt already replaces double line breaks with a paragraph close and
reopen. not using explicit para tags lets nix-doc-munge convert more
descriptions losslessly.
only whitespace changes to generated documents, except for two
strongswan options gaining paragraph two breaks they arguably should've
had anyway.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the conversion procedure is simple:
- find all things that look like options, ie calls to either `mkOption`
or `lib.mkOption` that take an attrset. remember the attrset as the
option
- for all options, find a `description` attribute who's value is not a
call to `mdDoc` or `lib.mdDoc`
- textually convert the entire value of the attribute to MD with a few
simple regexes (the set from mdize-module.sh)
- if the change produced a change in the manual output, discard
- if the change kept the manual unchanged, add some text to the
description to make sure we've actually found an option. if the
manual changes this time, keep the converted description
this procedure converts 80% of nixos options to markdown. around 2000
options remain to be inspected, but most of those fail the "does not
change the manual output check": currently the MD conversion process
does not faithfully convert docbook tags like <code> and <package>, so
any option using such tags will not be converted at all.
|
| |
|
| |
|
|\
| |
| | |
nixos/plasma5: add excludePackages option
|
| |
| |
| |
| |
| |
| | |
This is a pretty straightforward port of #151005.
More things can probably be made optional, I've only added ones
that I'm confident in.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* fix MTP support on KDE Plasma and Dolphin
* Update pkgs/applications/kde/kio-extras.nix
Co-authored-by: ElXreno <elxreno@gmail.com>
Co-authored-by: Peter Hoeg <peter@hoeg.com>
Co-authored-by: ElXreno <elxreno@gmail.com>
|
| |
|
| |
|