mirror of
https://github.com/nix-community/home-manager.git
synced 2026-11-03 03:10:20 +00:00
23 lines
462 B
Nix
23 lines
462 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
lib.mkMerge [
|
|
{
|
|
programs.rclone = {
|
|
enable = true;
|
|
remotes.myremote.config.type = "local";
|
|
};
|
|
}
|
|
|
|
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/systemd/user/rclone-config.service
|
|
'';
|
|
})
|
|
|
|
(lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
|
|
nmt.script = ''
|
|
assertFileExists LaunchAgents/org.nix-community.home.rclone-config.plist
|
|
'';
|
|
})
|
|
]
|