desktop changes

This commit is contained in:
elwrcl committed 2026-10-26 10:43:12 +03:00
1 parent 4d1c58d29b
commit 33fa58528e
2 files changed
+8 -3

No files matched your search

@@ -3,7 +3,8 @@
flake.nixosModules.desktop-display =
{ ... }:
{
services.xserver.enable = true;
# No X server: niri is Wayland, X clients go through xwayland-satellite
# (which brings its own Xwayland). xkb below still feeds kmscon.
services.displayManager.ly = {
enable = true;
settings = {
@@ -51,7 +51,11 @@
menus.enable = true;
};
environment.etc."xdg/menus/applications.menu".text =
builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
# Copied at build time (readFile would be import-from-derivation and
# fetch plasma-workspace during eval); the copy keeps plasma-workspace
# out of the system closure.
environment.etc."xdg/menus/applications.menu".source = pkgs.runCommand "applications.menu" { } ''
cp ${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu $out
'';
};
}