mirror of
https://github.com/nix-community/home-manager
synced 2024-11-09 20:59:44 +01:00
22 lines
511 B
Nix
22 lines
511 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./sway-stubs.nix ];
|
|
|
|
wayland.windowManager.sway = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { outPath = "@sway@"; };
|
|
|
|
config = {
|
|
focus.followMouse = false;
|
|
menu = "${pkgs.dmenu}/bin/dmenu_run";
|
|
bars = [ ];
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/sway/config
|
|
assertFileContent $(normalizeStorePaths home-files/.config/sway/config) \
|
|
${./sway-followmouse-legacy-expected.conf}
|
|
'';
|
|
}
|