1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-13 04:21:08 +01:00
home-manager/tests/modules/services/hyprsunset/no-configuration.nix
kerfuzzle 7c01358ff6 hyprsunset: Add tests for hyprsunset.conf file
Adds tests to verify that the configuration files and services were created sucessfully, even in a no configuration case

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 13:11:56 -05:00

10 lines
262 B
Nix

{
services.hyprsunset.enable = true;
nmt.script = ''
config=home-files/.config/hypr/hyprsunset.conf
clientServiceFile=home-files/.config/systemd/user/hyprsunset.service
assertPathNotExists $config
assertFileExists $clientServiceFile
'';
}