diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-05-16 04:38:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-05-16 04:40:12 +0900 |
| commit | f30a439bcd6aa97fac0f99cdd94381ae025aa64d (patch) | |
| tree | 9e340298cc0b8a7011fea40cc50b0db710593496 /test/configuration.nix | |
| parent | 008e9e7fc59398c13376728511f2df78e4c8b321 (diff) | |
nix: improve common usability
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/configuration.nix')
| -rw-r--r-- | test/configuration.nix | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/test/configuration.nix b/test/configuration.nix index 8afe0cac..6b3090cb 100644 --- a/test/configuration.nix +++ b/test/configuration.nix @@ -30,13 +30,9 @@ environment = { systemPackages = with pkgs; [ - # For glinfo and wayland-info: - mesa-demos - wayland-utils - # For D-Bus tests: - libnotify mako + libnotify ]; variables = { @@ -99,14 +95,21 @@ stateDir = "/var/lib/fortify"; users.alice = 0; - home-manager = _: _: { home.stateVersion = "23.05"; }; + extraHomeConfig = { + home.stateVersion = "23.05"; + }; apps = [ { name = "ne-foot"; verbose = true; share = pkgs.foot; - packages = [ pkgs.foot ]; + packages = with pkgs; [ + foot + + # For wayland-info: + wayland-utils + ]; command = "foot"; capability = { dbus = false; @@ -125,7 +128,13 @@ name = "x11-alacritty"; verbose = true; share = pkgs.alacritty; - packages = [ pkgs.alacritty ]; + packages = with pkgs; [ + # For X11 terminal emulator: + alacritty + + # For glinfo: + mesa-demos + ]; command = "alacritty"; capability = { wayland = false; @@ -139,7 +148,12 @@ verbose = true; insecureWayland = true; share = pkgs.foot; - packages = [ pkgs.foot ]; + packages = with pkgs; [ + foot + + # For wayland-info: + wayland-utils + ]; command = "foot"; capability = { dbus = false; |
