home-manager/tests/modules/services/window-managers/sway
Andrew Marshall 3a435342e2
sway: check config file validity
Helps avoid successful build but Sway failing to start.

To meaningfully test this, I had to actually use `pkgs.sway` in the
test rather than the stub, but left all other tests using the stub and
changed them to skipping the test.

We need to pass `--unsupported-gpu` as Sway checks for `nvidia` in
`/proc/modules`, and the Nix sandbox has `/proc/modules` available.
2024-04-19 23:16:55 +02:00
..
default.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-bar-focused-colors.conf
sway-bar-focused-colors.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-bindkeys-to-code-and-extra-config.conf
sway-bindkeys-to-code-and-extra-config.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-check-config.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-default.conf
sway-default.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-default.target
sway-followmouse-expected.conf
sway-followmouse-legacy-expected.conf
sway-followmouse-legacy.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-followmouse.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-modules.conf
sway-modules.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-no-xwayland.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-null-config.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-null-package.conf
sway-null-package.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-post-2003.conf
sway-post-2003.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-stubs.nix
sway-systemd-autostart.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-systemd-autostart.target
sway-systemd-variables.conf
sway-systemd-variables.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-workspace-default-expected.conf
sway-workspace-default.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
sway-workspace-output-expected.conf
sway-workspace-output.nix sway: check config file validity 2024-04-19 23:16:55 +02:00
swaynag-empty-settings.nix
swaynag-example-settings-expected.conf
swaynag-example-settings.nix