1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-07 13:53:27 +02:00
home-manager/tests/modules/services/window-managers/herbstluftwm/herbstluftwm-no-tags.nix

17 lines
416 B
Nix
Raw Normal View History

{ lib, pkgs, ... }:
{
xsession.windowManager.herbstluftwm = { enable = true; };
test.stubs.herbstluftwm = { };
nmt.script = ''
autostart=home-files/.config/herbstluftwm/autostart
assertFileExists "$autostart"
assertFileIsExecutable "$autostart"
normalizedAutostart=$(normalizeStorePaths "$autostart")
assertFileContent "$normalizedAutostart" ${./herbstluftwm-no-tags-autostart}
'';
}