fix cronjob
parent
96f363cff4
commit
a2659bfdc4
12
config.scm
12
config.scm
|
@ -1,4 +1,4 @@
|
|||
;; This is an operating system configuration generated
|
||||
; This is an operating system configuration generated
|
||||
;; by the graphical installer.
|
||||
;;
|
||||
;; Once installation is complete, you can learn and modify
|
||||
|
@ -92,7 +92,7 @@
|
|||
|
||||
|
||||
|
||||
(use-service-modules cups desktop networking ssh xorg linux certbot shepherd configuration web)
|
||||
(use-service-modules cups desktop networking ssh xorg linux certbot shepherd configuration web nix)
|
||||
(use-package-modules version-control gcc bash certs admin linux )
|
||||
|
||||
|
||||
|
@ -238,6 +238,8 @@ KERNEL==\"xpad\", SUBSYSTEM==\"drivers\", ACTION==\"add\", ATTR{new_id}=\"2dc8 3
|
|||
emacs-telega
|
||||
emacs-sly
|
||||
emacs-ccls
|
||||
emacs-lsp-mode
|
||||
emacs-lsp-ui
|
||||
emacs-rmsbolt
|
||||
sbcl
|
||||
emacs-nerd-icons
|
||||
|
@ -304,13 +306,13 @@ KERNEL==\"xpad\", SUBSYSTEM==\"drivers\", ACTION==\"add\", ATTR{new_id}=\"2dc8 3
|
|||
(xorg-configuration (keyboard-layout keyboard-layout)))
|
||||
(udev-rules-service '8bitdo %8bitdo-udev-rules)
|
||||
|
||||
(service nix-service-type)
|
||||
|
||||
#| Compress my mpv screenshots periodically |#
|
||||
(service mcron-service-type
|
||||
(mcron-configuration
|
||||
(jobs (list #~(job "0 14 * * *"
|
||||
"find /mnt/Data/mpv-screenshots/ -type f \\( -iname '.png' -o -iname '.jpg' \\) -exec sh -c 'cwebp -q 80 \"$0\" -o \"${0%.*}.webp\" && rm \"$0\"' {} \\;")))))
|
||||
|
||||
(jobs (list #~(job "10 15 * * *"
|
||||
"find /mnt/Data/mpv-screenshots/ -type f \\( -iname '*.png' -o -iname '*.jpg' \\) -exec sh -c 'cwebp -q 80 \"$0\" -o \"${0%.*}.webp\" && rm \"$0\"' {} \\;")))))
|
||||
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue