resurrect #8

Merged
deepak merged 7 commits from resurrect into master 2025-09-16 17:23:52 +00:00
2 changed files with 40 additions and 0 deletions
Showing only changes of commit 5cf01c8df1 - Show all commits

View File

@@ -0,0 +1,22 @@
loop_on_end = true
[defaults]
format = "🍅 {name}: {time} / {total}{end}\n"
[[sessions]]
id = "work"
name = "Work"
duration = "30m"
command = "notify-send 'Work Done!'"
[[sessions]]
id = "rest"
name = "Rest"
duration = "5m"
command = "notify-send 'Rest Done!'"
[[sessions]]
id = "hardwork"
name = "Work, but harder"
duration = "1h 30m"
command = "notify-send 'Hard Work Done!'"

View File

@@ -49,6 +49,7 @@ in
pkgs.ydiff
pkgs.xsel
pkgs.delta
pkgs.uair
pkgs-unstable.claude-code
# default_python
@@ -100,6 +101,7 @@ in
programs.direnv.nix-direnv.enable = true;
xdg.enable = true;
xdg.configFile."uair/uair.toml".source = ./config/uair.toml;
services.nextcloud-client = pkgs.lib.mkIf specialArgs.withGUI {
enable = true;
@@ -391,4 +393,20 @@ in
};
};
systemd.user.services = {
uair = {
Unit = {
Description = "Uair pomodoro timer";
};
Service = {
Type = "simple";
ExecStart = "${pkgs.uair}/bin/uair -q";
Restart = "always";
};
Install = {
WantedBy = ["default.target"];
};
};
};
}