mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +03:00
desktop changes
This commit is contained in:
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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user