fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Robert Helgessontests: various minor cleanupseec22729

master
511 B22 linesraw
1{ config, pkgs, ... }:
2
3{
4  imports = [ ./sway-stubs.nix ];
5
6  wayland.windowManager.sway = {
7    enable = true;
8    package = config.lib.test.mkStubPackage { outPath = "@sway@"; };
9
10    config = {
11      focus.followMouse = false;
12      menu = "${pkgs.dmenu}/bin/dmenu_run";
13      bars = [ ];
14    };
15  };
16
17  nmt.script = ''
18    assertFileExists home-files/.config/sway/config
19    assertFileContent $(normalizeStorePaths home-files/.config/sway/config) \
20      ${./sway-followmouse-legacy-expected.conf}
21  '';
22}