1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

tests/hyprshot: add tests

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-10-05 17:04:17 -05:00
parent 9f2912e3a6
commit 5b45dcf479
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{
config = {
programs.hyprshot = {
enable = true;
saveLocation = "dummy";
};
nmt.script = ''
assertFileContains home-path/etc/profile.d/hm-session-vars.sh \
'export HYPRSHOT_DIR="dummy"'
'';
};
}

View file

@ -0,0 +1,5 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
hyprshot-basic-configuration = ./basic-configuration.nix;
}