diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2023-11-27 09:10:34 +0100 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2023-11-27 09:10:34 +0100 |
| commit | 948491cf61c0ae11910e1a3c527f7e4a4b3afc56 (patch) | |
| tree | c2475cb3cd8cc21ab658e47b0563628b6369c522 | |
| parent | 009117d31e14d3f4c5b2bc3185c8a55f62533b3f (diff) | |
| parent | a05ca675290f01e097fbe21e6420ec341ac1ea95 (diff) | |
Merge branch 'offpunk'
| -rw-r--r-- | share/home/hyprdesktop.nix | 2 | ||||
| -rw-r--r-- | share/home/offpunk.nix | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/share/home/hyprdesktop.nix b/share/home/hyprdesktop.nix index 3e18b94..aea5d39 100644 --- a/share/home/hyprdesktop.nix +++ b/share/home/hyprdesktop.nix @@ -14,6 +14,7 @@ ./git.nix ./mpv.nix ./kitty.nix + ./offpunk.nix ./firefox ]; @@ -108,7 +109,6 @@ slurp # region selection UI for wayland wl-clipboard # clipboard utility nushell # next-generation shell - offpunk # TUI/GUI programs cmus # music player diff --git a/share/home/offpunk.nix b/share/home/offpunk.nix new file mode 100644 index 0000000..7dbd03c --- /dev/null +++ b/share/home/offpunk.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: { + home.packages = [ pkgs.offpunk ]; + systemd.user = { + timers.offpunk-sync = { + Unit = { + Description = "Offpunk sync command timer"; + }; + Timer = { + Persistent = true; + OnCalendar = "weekly"; + }; + }; + services.offpunk-sync = { + Unit = { + Description = "Offpunk sync command timer"; + }; + Service = { + Type = "oneshot"; + KillMode = "process"; + ExecStart = "${pkgs.offpunk}/bin/offpunk --sync"; + }; + }; + }; +} |
