mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 16:41:04 +01:00
- Add basic-service.nix test for caffeine service configuration - Test systemd service generation with proper graphical-session.target integration Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
15 lines
252 B
Nix
15 lines
252 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
config = {
|
|
services.caffeine = {
|
|
enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/systemd/user/caffeine.service \
|
|
${./basic-service-expected.service}
|
|
'';
|
|
};
|
|
}
|