mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +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>
18 lines
434 B
Nix
18 lines
434 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;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/sway/config
|
|
assertFileContent $(normalizeStorePaths home-files/.config/sway/config) \
|
|
${pkgs.writeText "expected" ""}
|
|
'';
|
|
}
|