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