!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

200 Members
55 Servers

Load older messages


SenderMessageTime
23 Jun 2025
@asshall:matrix.orgasshall joined the room.09:19:34
@asshall:matrix.orgasshall Frankly I both a noob with KDE stuff and nix so what follow might be painful ^^
I'm trying to get kde mobile up to date and for now what I've started to do is replicate /nixos/modules/services/x11/desktop-managers/plasma5.nix modularity into /nixos/modules/services/desktop-managers/plasma6.nix. Issue is I frankly have no idea what configuration is strictly needed for mobile/desktop. Is there some tool/documentation that could help with that, or should I do it the painful way and remove stuff one by one ? (which really doesn't seem like a good idea)
09:27:14
@k900:0upti.meK900No, there really isn't09:28:22
@asshall:matrix.orgasshall

While I'm at it i'll rapid fire questions and excuse myself for the spam in advance

1:
I see there are pkgs.plasma5Packages, pkgs.kdePackages, pkgs.libForQt5 sets, I'm unsure where those are created, but anyways my point is the pkgs.plasma5Packages.plasmaMobileGear (even though I can't find it trough repl) seems useful. Should I be replicated for plasma6 ?

2:
Should plasma common configuration (talking about plasma5 module's desktop/mobile/bigscreen configs) be the lightest it can be ? My rational is that for mobile devices with hardware constraints it seems beneficial. However it could be a lot of work ^^

3:
Seeing the CONTRIBUTING.md file in nixpkgs repo, it says commit should be atomic, so should the first commit simply add the mobile options and install mobile only apps. And next commits clean the common configuration ?

4:
I'm seeing pkgs/kde/generated/dependencies.json is this generated using an external tool or is it a part of nixpkgs I'm not aware of ?

I'll stop there for my own sanity an you folks ^^

09:39:08
@asshall:matrix.orgasshallSo how did you manage ? A lot of build-vm and patience ?09:39:33
@k900:0upti.meK900 1) No, there is no Plasma Mobile Gear set in 6.x
2) Can't answer, need to decide on a case by case basis
3) You can have any order you want as long as it doesn't break things, though I'd maybe even consider putting the mobile bits into an entirely separate module
4) It's generated by the scripts in maintainers/scripts/kde/
09:49:07
@k900:0upti.meK900 There's packaging guidelines for Plasma Desktop 09:49:14
@k900:0upti.meK900https://community.kde.org/Distributions/Packaging_Recommendations09:50:35
@asshall:matrix.orgasshall
  1. What would be the rationale ? I'm blissfully unaware of plasma inner working but from what I gather on the plasma mobile repo is that It's a superset of plasma desktop, shouldn't nix config should more or less be desktop config (minus graphical apps that don't scale) plus mobile apps ? services.xserver.desktopManager.plasma6.mobile seems like an adequate enough option ?
09:56:35
@k900:0upti.meK900It's not a superset, no09:57:12
@k900:0upti.meK900It's built on much of the same tech, but it's not a strict superset09:57:35
@asshall:matrix.orgasshall Or it might just be I didn't understand you answer, but creating a new module would mean having something like services.xserver.desktopManager.plasma6-mobile right ? 09:57:37
@k900:0upti.meK900Not necessarily09:57:46
@k900:0upti.meK900The option naming isn't directly related to the module layout09:57:54
@asshall:matrix.orgasshallSo then I'll need to read a bit more on the module system, to at least get it working on my end, I'll try to replicate plasma5 module as to not complicate things for me I think.10:00:22
24 Jun 2025
@k900:0upti.meK900https://kde.org/announcements/changelogs/plasma/6/6.4.0-6.4.1/12:00:39
@k900:0upti.meK900Gonna get this going in maybe 30 minutes12:00:48
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/pull/41955412:51:33
28 Jun 2025
@mpardalos:matrix.orgMichalis joined the room.19:50:19
@mpardalos:matrix.orgMichalisHow would one go about packaging a (python) krunner plugin for nix? I'm trying to package this to use with home-manager https://github.com/mpardalos/KRunner-SSH. Is there any examples I can follow? 20:06:20
@mpardalos:matrix.orgMichalisWhat I tried so far is here: https://github.com/mpardalos/KRunner-SSH/tree/nix 20:13:46
@k900:0upti.meK900Yeah none of that is correct basically20:27:44
@k900:0upti.meK900You want to install to $out/share20:27:47
@k900:0upti.meK900And you want fully qualified paths everywhere20:27:54
@k900:0upti.meK900Nothing like $PWD20:28:04
@k900:0upti.meK900And you have external dependencies20:28:26
@k900:0upti.meK900So you want to treat this like a Python package20:28:30
@mpardalos:matrix.orgMichalis Makes sense 20:33:19
@mpardalos:matrix.orgMichalis
In reply to @k900:0upti.me
Yeah none of that is correct basically
Yeah thought so lol
20:33:37
@mpardalos:matrix.orgMichalisOnce I have that packaged up correctly, is there some standard way to install it, or do I manually place each of the files with home-manager?20:35:02

Show newer messages


Back to Room ListRoom Version: 9