mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 13:01:09 +01:00
protonmail-bridge: init module
This commit is contained in:
parent
8275e5d315
commit
1daeb0638a
5 changed files with 119 additions and 0 deletions
11
tests/modules/services/protonmail-bridge/empty-settings.nix
Normal file
11
tests/modules/services/protonmail-bridge/empty-settings.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
services.protonmail-bridge.enable = true;
|
||||
|
||||
nmt.script = ''
|
||||
local service="home-files/.config/systemd/user/protonmail-bridge.service"
|
||||
|
||||
assertFileExists $service
|
||||
assertFileNotRegex $service 'Environment=PATH=.*'
|
||||
assertFileRegex $service 'ExecStart=.*/protonmail-bridge --noninteractive'
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue