the big one

This commit is contained in:
elwrcl committed 2026-09-28 17:45:49 +03:00
1 parent cf181e7ed0
commit cfa4aa4969
11 files changed
+570 -80

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
{ ... }:
{
flake.homeModules.home-gdrive-rclone =
{ pkgs, ... }:
{
home.packages = [ pkgs.rclone ];
systemd.user.services.rclone-gdrive = {
Unit = {
Description = "Google Drive (rclone mount)";
After = [ "network-online.target" ];
};
Service = {
Type = "notify";
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p %h/GoogleDrive";
ExecStart = "${pkgs.rclone}/bin/rclone mount gdrive: %h/GoogleDrive --vfs-cache-mode writes";
ExecStop = "${pkgs.fuse}/bin/fusermount -u %h/GoogleDrive";
Restart = "on-failure";
RestartSec = 10;
};
Install.WantedBy = [ "default.target" ];
};
};
}