feat: add emacs rss server (elfeed)

This commit is contained in:
Swarsel 2024-12-15 14:59:58 +01:00
parent 86de91c6e3
commit aee51f5b09
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 10 additions and 4 deletions

View file

@ -1130,7 +1130,7 @@ My work machine. Built for more security, this is the gold standard of my config
syncthing = true; syncthing = true;
monitoring = true; monitoring = true;
jenkins = false; jenkins = false;
emacs = false; emacs = true;
}; };
}; };
@ -6097,7 +6097,7 @@ Also, the system state version is set here. No need to touch it.
} }
#+end_src #+end_src
**** Emacs (RSS Server) **** Emacs elfeed (RSS Server)
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h:4e6824bc-c3db-485d-b543-4072e6283b62 :CUSTOM_ID: h:4e6824bc-c3db-485d-b543-4072e6283b62
:END: :END:
@ -6111,6 +6111,7 @@ Also, the system state version is set here. No need to touch it.
services.emacs = { services.emacs = {
enable = true; enable = true;
install = true; install = true;
startWithGraphical = false; startWithGraphical = false;
}; };
@ -6118,8 +6119,8 @@ Also, the system state version is set here. No need to touch it.
services.nginx = { services.nginx = {
virtualHosts = { virtualHosts = {
"signpost.swarsel.win" = { "signpost.swarsel.win" = {
enableACME = true; enableACME = false;
forceSSL = true; forceSSL = false;
acmeRoot = null; acmeRoot = null;
locations = { locations = {
"/" = { "/" = {

View file

@ -98,5 +98,10 @@
(run-with-timer 0 (* 30 60) 'bjm/elfeed-updater) (run-with-timer 0 (* 30 60) 'bjm/elfeed-updater)
(setq httpd-port 9812) ; replace NNNNN with a port equalling your start port + 10 (or whatever) (setq httpd-port 9812) ; replace NNNNN with a port equalling your start port + 10 (or whatever)
(setq httpd-host "0.0.0.0") ; replace NNNNN with a port equalling your start port + 10 (or whatever)
(setq httpd-root "/home/swarsel/.emacs.d/elpa/elfeed-web-20240729.1741/") ; replace NNNNN with a port equalling your start port + 10 (or whatever)
(httpd-start)
(elfeed-web-start) (elfeed-web-start)
;; /home/swarsel/.emacs.d/elpa/elfeed-web-20240729.1741/