mirror of
https://github.com/nix-community/home-manager
synced 2024-11-09 04:39:44 +01:00
0144ac418e
* sway: add support for XDG autostart using systemd Using the option wayland.windowManager.sway.systemd.xdgAutostart, users can now choose to start applications present in $XDG_CONFIG_HOME/autostart when starting their sway session. This change also renames wayland.windowManager.sway.systemdIntegration to wayland.windowManager.sway.systemd.enable; Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> * sway: add Scrumplex to maintainers Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> --------- Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
23 lines
520 B
Nix
23 lines
520 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./sway-stubs.nix ];
|
|
|
|
wayland.windowManager.sway = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { outPath = "@sway@"; };
|
|
config = null;
|
|
systemd.enable = false;
|
|
xwayland = false;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/sway/config
|
|
assertFileContent $(normalizeStorePaths home-files/.config/sway/config) \
|
|
${
|
|
pkgs.writeText "expected" ''
|
|
xwayland disable
|
|
''
|
|
}
|
|
'';
|
|
}
|