Skip to content

nixos/plasma6: add bigscreen session#4

Open
abdelq wants to merge 2 commits into
K900:plasma-6.7from
abdelq:abdelq/oqyynsqtkmqv
Open

nixos/plasma6: add bigscreen session#4
abdelq wants to merge 2 commits into
K900:plasma-6.7from
abdelq:abdelq/oqyynsqtkmqv

Conversation

@abdelq

@abdelq abdelq commented May 27, 2026

Copy link
Copy Markdown

No description provided.

Comment thread pkgs/kde/plasma/plasma-bigscreen/default.nix Outdated
Comment thread pkgs/kde/plasma/plasma-bigscreen/default.nix Outdated
Comment thread pkgs/kde/plasma/plasma-bigscreen/default.nix Outdated
@abdelq abdelq marked this pull request as draft May 29, 2026 03:15
@abdelq abdelq force-pushed the abdelq/oqyynsqtkmqv branch 3 times, most recently from fd5b947 to 071cf3e Compare May 30, 2026 00:47
@abdelq abdelq changed the title kdePackages.plasma-bigscreen: init at 6.7 nixos/plasma6: add bigscreen session May 30, 2026
@abdelq abdelq marked this pull request as ready for review May 30, 2026 00:47
@abdelq

abdelq commented May 30, 2026

Copy link
Copy Markdown
Author

I think I got the general idea here from the review. Tested the approach again and it works. Let me know.

Comment thread pkgs/kde/plasma/plasma-bigscreen/default.nix Outdated
@K900

K900 commented Jun 4, 2026

Copy link
Copy Markdown
Owner

OK so I think between this and NixOS#510025 and NixOS#459790 what's clear is that we need a "Plasma core" kind of module, and then we build on top of it to provide desktop, bigscreen and mobile as separate modules. I don't know if I have the spoons to do that refactoring right now, but I think that's the right way to go overall and I'd be happy to review it.

@abdelq abdelq force-pushed the abdelq/oqyynsqtkmqv branch 2 times, most recently from 1794821 to a863fd8 Compare June 7, 2026 17:23
Comment thread nixos/modules/services/desktop-managers/plasma6.nix Outdated
@abdelq abdelq force-pushed the abdelq/oqyynsqtkmqv branch from a863fd8 to 98e82d7 Compare June 9, 2026 03:38
desk.currentConfigGroup = new Array("Wallpaper","org.kde.slideshow","General");
desk.writeConfig("SlideInterval", 480);
- desk.writeConfig("SlidePaths", "/usr/share/wallpapers/");
+ desk.writeConfig("SlidePaths", "@wallpapers@");

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be /run/current-system as well, since we want to handle user installed wallpapers? (and also the user may not want 500MB of plasma-workspace-wallpapers)

plasmaBrowserIntegrationPackage = pkgs.kdePackages.plasma-browser-integration;
};
(mkIf cfg.bigscreen.enable {
services.desktopManager.plasma6.enable = mkDefault true;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the next question here is, how much of plasma-desktop can we get rid of and still have a working bigscreen session? That's why I originally talked about a "core" subset, so we can have that as the lowest common denominator, and then all the other sessions building on it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants