mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +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 =
|
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 = {
|
services.displayManager.ly = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -51,7 +51,11 @@
|
|||||||
menus.enable = true;
|
menus.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc."xdg/menus/applications.menu".text =
|
# Copied at build time (readFile would be import-from-derivation and
|
||||||
builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
# 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