fix(niri): Start xwayland-satellite
This commit is contained in:
@@ -30,17 +30,20 @@ in {
|
||||
["${pkgs.xwayland-satellite}/bin/xwayland-satellite"];
|
||||
Unit.After = ["niri.service"];
|
||||
Unit.PartOf = ["niri.service"];
|
||||
Install.WantedBy = ["niri.service"];
|
||||
};
|
||||
|
||||
programs.niri = {
|
||||
settings = {
|
||||
# Activates some Nixpkgs patches to help run Electron applications under
|
||||
# Wayland.
|
||||
settings = {
|
||||
environment."NIXOS_OZONE_WL" = "1";
|
||||
environment."DISPLAY" = ":0";
|
||||
|
||||
spawn-at-startup =
|
||||
[{ command = [ "${pkgs.swaynotificationcenter}/bin/swaync" ]; }]
|
||||
[{ command = [ "${pkgs.swaynotificationcenter}/bin/swaync" ]; }
|
||||
{ command = [ "${pkgs.gammastep}/bin/gammastep" "-o" "-O" "4000k"
|
||||
"-b" "0.9:0.9" "-l" "0:0"]; }]
|
||||
++ lib.optional
|
||||
(! builtins.isNull cfg.wallpaper)
|
||||
{ command = [ "${pkgs.wbg}/bin/wbg" "${cfg.wallpaper}" ]; };
|
||||
|
||||
Reference in New Issue
Block a user