mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
16 lines
396 B
Nix
16 lines
396 B
Nix
|
{
|
||
|
config = {
|
||
|
services.udiskie.enable = true;
|
||
|
|
||
|
test.stubs.udiskie = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
serviceFile="home-files/.config/systemd/user/udiskie.service"
|
||
|
assertFileRegex "$serviceFile" 'After=tray\.target'
|
||
|
assertFileRegex "$serviceFile" 'Requires=tray\.target'
|
||
|
assertFileContent "home-files/.config/udiskie/config.yml" \
|
||
|
${./basic.yml}
|
||
|
'';
|
||
|
};
|
||
|
}
|