1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-03 07:31:03 +01:00
home-manager/tests/modules/services/sway/sway-check-config.nix
Austin Horstman 06c1392ca8 tests: implement auto importing for modules
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-22 23:58:37 -05:00

19 lines
309 B
Nix

{
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
'';
}