1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 08:09:45 +01:00
home-manager/tests/modules/services/dropbox/basic-configuration.nix

20 lines
320 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
config = {
services.dropbox = {
enable = true;
path = "${config.home.homeDirectory}/dropbox";
};
test.stubs.dropbox-cli = { };
nmt.script = ''
serviceFile=home-files/.config/systemd/user/dropbox.service
assertFileExists $serviceFile
'';
};
}