diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-05T17·26+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-06T10·15+0000 |
commit | fe61dee51170a4aa7cdd984e03e56d4dc45afbb9 (patch) | |
tree | 7ee427504bee31df4a6e62f763fd43f749e1eea9 /configs/.config/systemd | |
parent | 137bd6dc0c8ef65d89c0daada860a2dd25460983 (diff) |
Splice configs/shared directory
- Move all children from configs/shared into configs. - Delete "shared" directory.
Diffstat (limited to 'configs/.config/systemd')
5 files changed, 36 insertions, 0 deletions
diff --git a/configs/.config/systemd/user/clipmenud.service b/configs/.config/systemd/user/clipmenud.service new file mode 100644 index 000000000000..fac317f3f072 --- /dev/null +++ b/configs/.config/systemd/user/clipmenud.service @@ -0,0 +1,18 @@ +[Unit] +Description=Clipmenu daemon + +[Service] +ExecStart=clipmenud +Restart=always +RestartSec=500ms +Environment=DISPLAY=:0 + +MemoryDenyWriteExecute=yes +NoNewPrivileges=yes +ProtectControlGroups=yes +ProtectKernelTunables=yes +RestrictAddressFamilies= +RestrictRealtime=yes + +[Install] +WantedBy=default.target diff --git a/configs/.config/systemd/user/default.target.wants/clipmenud.service b/configs/.config/systemd/user/default.target.wants/clipmenud.service new file mode 120000 index 000000000000..387f2023d2d2 --- /dev/null +++ b/configs/.config/systemd/user/default.target.wants/clipmenud.service @@ -0,0 +1 @@ +/usr/local/google/home/wpcarro/.config/systemd/user/clipmenud.service \ No newline at end of file diff --git a/configs/.config/systemd/user/lieer-google.service b/configs/.config/systemd/user/lieer-google.service new file mode 100644 index 000000000000..2f79ed6ccaa8 --- /dev/null +++ b/configs/.config/systemd/user/lieer-google.service @@ -0,0 +1,7 @@ +[Unit] +Description=Lieer sync for account 'google' + +[Service] +Type=oneshot +ExecStart=/nix/store/n6c4pr4fyrsjfksspkapb7yqc6fzl166-corp-lieer/bin/gmi sync +WorkingDirectory=%h/mail/account.google diff --git a/configs/.config/systemd/user/lieer-google.timer b/configs/.config/systemd/user/lieer-google.timer new file mode 100644 index 000000000000..a073da25ea82 --- /dev/null +++ b/configs/.config/systemd/user/lieer-google.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run lieer sync for account 'google' + +[Timer] +OnActiveSec=1 +OnUnitActiveSec=120 + +[Install] +WantedBy=timers.target diff --git a/configs/.config/systemd/user/timers.target.wants/lieer-google.timer b/configs/.config/systemd/user/timers.target.wants/lieer-google.timer new file mode 120000 index 000000000000..e9f2cab3bcec --- /dev/null +++ b/configs/.config/systemd/user/timers.target.wants/lieer-google.timer @@ -0,0 +1 @@ +/usr/local/google/home/wpcarro/.config/systemd/user/lieer-google.timer \ No newline at end of file |