1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 10:47:02 +00:00
home-manager/tests/modules/services/window-managers/sway/sway-check-config.nix

15 lines
301 B
Nix
Raw Normal View History

{ config, lib, realPkgs, ... }:
lib.mkIf config.test.enableBig {
wayland.windowManager.sway = {
enable = true;
checkConfig = true;
};
nixpkgs.overlays = [ (self: super: { inherit (realPkgs) xvfb-run; }) ];
nmt.script = ''
assertFileExists home-files/.config/sway/config
'';
}