diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-08 17:02:16 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-08 17:02:16 -0700 |
commit | b3d49dcb70a67c7fc60bfff9914bf0434e2b6390 (patch) | |
tree | ceed15cca5f2d63fbb293f312a40349549d8bc30 /users/fcuny/cli/backups.nix | |
parent | delete all devel modules (diff) | |
download | world-b3d49dcb70a67c7fc60bfff9914bf0434e2b6390.tar.gz |
delete all CLI modules
Everything is under home/ now
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/cli/backups.nix | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/users/fcuny/cli/backups.nix b/users/fcuny/cli/backups.nix deleted file mode 100644 index 57bd8b7..0000000 --- a/users/fcuny/cli/backups.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ pkgs, ... }: - -{ - home.packages = with pkgs; [ restic ]; - - systemd.user.services.backup = { - Unit = { - Description = "backup my home directory"; - Documentation = "man:resitc(1)"; - }; - Service = { - Type = "oneshot"; - Environment = [ - "RESTIC_REPOSITORY=sftp:fcuny@192.168.0.107:/data/slow/backups/users/fcuny" - ''RESTIC_PASSWORD_COMMAND="pass backup/restic@%H"'' - ]; - ExecStartPre = - "${pkgs.systemd}/lib/systemd/systemd-networkd-wait-online --interface=wg0"; - ExecStart = - "${pkgs.restic}/bin/restic --tag=home-nixos --exclude=%h/media --exclude=%C --exclude=%E backup %h"; - }; - }; -} |