import "fmt"
import "sys"

$home = sys.getenv("HOME")

cron "purpleidea-oneshot" {
	state => "absent",
	session => true,
	trigger => "OnCalendar",
	time => "*:*:0",
}

svc "purpleidea-oneshot" {
	state => "stopped",
	session => true,
}

file [fmt.printf("%s/.config/systemd/user/purpleidea-oneshot.service", $home),] {
	state => $const.res.file.state.absent,
}
