diff options
author | aszlig <aszlig@nix.build> | 2021-06-02 11:50:59 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2021-06-02 11:50:59 +0200 |
commit | 5744b2032361064b59227840e98becc549791932 (patch) | |
tree | 8ea02783b8e737de0c69d3c6dd338a09ab15298a /modules | |
parent | a4cdae01efb7cac9b0fbf12a1dcc38b047fa503a (diff) |
modules: Properly link tests to machine configs
The PSI and Flameshot tests so far weren't part of the channels of the machines where I use both programs, so if one of those tests would have failed the channels would have advanced regardless of that. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/aszlig/profiles/workstation/default.nix | 2 | ||||
-rw-r--r-- | modules/user/aszlig/programs/flameshot/default.nix | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/workstation/default.nix b/modules/user/aszlig/profiles/workstation/default.nix index e5591eeb..f4a5a0ae 100644 --- a/modules/user/aszlig/profiles/workstation/default.nix +++ b/modules/user/aszlig/profiles/workstation/default.nix @@ -32,6 +32,8 @@ in { }) ]; + vuizvui.requiresTests = lib.singleton ["vuizvui" "programs" "psi"]; + environment.pathsToLink = lib.singleton "/share/chromium/extensions"; # The default theme hurts my eyes. diff --git a/modules/user/aszlig/programs/flameshot/default.nix b/modules/user/aszlig/programs/flameshot/default.nix index 29bb638d..a9385a1f 100644 --- a/modules/user/aszlig/programs/flameshot/default.nix +++ b/modules/user/aszlig/programs/flameshot/default.nix @@ -38,6 +38,8 @@ in { config = lib.mkIf cfg.enable { environment.systemPackages = lib.singleton cfg.package; + vuizvui.requiresTests = lib.singleton ["vuizvui" "programs" "flameshot"]; + services.dbus.packages = lib.singleton (pkgs.writeTextFile { name = "flameshot-dbus"; destination = "/share/dbus-1/services/org.flameshot.Flameshot.service"; |