Adding pass and matrix and transmission to new server ip

This commit is contained in:
Chris Cochrun 2021-04-28 08:23:34 -05:00
parent c0046dabc4
commit 7f860cf29b
2 changed files with 61 additions and 2 deletions

View file

@ -31,6 +31,8 @@
- [[#elfeed][Elfeed]] - [[#elfeed][Elfeed]]
- [[#bongo][Bongo]] - [[#bongo][Bongo]]
- [[#transmission][Transmission]] - [[#transmission][Transmission]]
- [[#pass][Pass]]
- [[#matrix][Matrix]]
- [[#performance][Performance]] - [[#performance][Performance]]
- [[#logging][Logging]] - [[#logging][Logging]]
- [[#early-init][Early Init]] - [[#early-init][Early Init]]
@ -326,6 +328,7 @@ This evil-collection package includes a lot of other evil based things.
"o" '(:ignore t :which-key "open") "o" '(:ignore t :which-key "open")
"h" '(:ignore t :which-key "help") "h" '(:ignore t :which-key "help")
"n" '(:ignore t :which-key "notes") "n" '(:ignore t :which-key "notes")
"sp" '(:ignore t :which-key "passwords")
"bs" '(consult-buffer :which-key "buffer search") "bs" '(consult-buffer :which-key "buffer search")
"bd" '(kill-this-buffer :which-key "kill buffer") "bd" '(kill-this-buffer :which-key "kill buffer")
"bi" '(ibuffer :which-key "ibuffer") "bi" '(ibuffer :which-key "ibuffer")
@ -1799,7 +1802,7 @@ I use transmission on a server to manage my torrents
transmission-files-mode transmission-files-mode
transmission-info-mode transmission-info-mode
transmission-peers-mode)) transmission-peers-mode))
(setq transmission-host "192.168.1.7" (setq transmission-host "192.168.1.2"
transmission-rpc-path "/transmission/rpc" transmission-rpc-path "/transmission/rpc"
transmission-refresh-modes '(transmission-mode transmission-refresh-modes '(transmission-mode
transmission-files-mode transmission-files-mode
@ -1812,6 +1815,42 @@ I use transmission on a server to manage my torrents
"ot" 'transmission)) "ot" 'transmission))
#+end_src #+end_src
** Pass
I like to keep my passwords in password-store for a very unixy way of doing things.
#+begin_src emacs-lisp
(use-package auth-source-pass
:defer 1
:config (auth-source-pass-enable))
#+end_src
#+begin_src emacs-lisp
(use-package pass
:defer 1)
#+end_src
#+begin_src emacs-lisp
(use-package password-store
:after pass
:general
(chris/leader-keys
"sp" 'password-store-copy))
#+end_src
#+begin_src emacs-lisp
(use-package password-store-otp
:after password-store
:general
(chris/leader-keys
"st" 'password-store-otp-token-copy))
#+end_src
** Matrix
Matrix.el is a decent enough matrix client built in emacs. Like it.
#+begin_src emacs-lisp :tangle no
(use-package matrix-client
:straight (matrix-client :type git :host github :repo "alphapapa/matrix-client.el"))
#+end_src
** Performance ** Performance
Here we have a bunch of performance tweaks Here we have a bunch of performance tweaks
#+begin_src emacs-lisp #+begin_src emacs-lisp

22
init.el
View file

@ -207,6 +207,7 @@
"o" '(:ignore t :which-key "open") "o" '(:ignore t :which-key "open")
"h" '(:ignore t :which-key "help") "h" '(:ignore t :which-key "help")
"n" '(:ignore t :which-key "notes") "n" '(:ignore t :which-key "notes")
"sp" '(:ignore t :which-key "passwords")
"bs" '(consult-buffer :which-key "buffer search") "bs" '(consult-buffer :which-key "buffer search")
"bd" '(kill-this-buffer :which-key "kill buffer") "bd" '(kill-this-buffer :which-key "kill buffer")
"bi" '(ibuffer :which-key "ibuffer") "bi" '(ibuffer :which-key "ibuffer")
@ -1367,7 +1368,7 @@ interfere with the default `bongo-playlist-buffer'."
transmission-files-mode transmission-files-mode
transmission-info-mode transmission-info-mode
transmission-peers-mode)) transmission-peers-mode))
(setq transmission-host "192.168.1.7" (setq transmission-host "192.168.1.2"
transmission-rpc-path "/transmission/rpc" transmission-rpc-path "/transmission/rpc"
transmission-refresh-modes '(transmission-mode transmission-refresh-modes '(transmission-mode
transmission-files-mode transmission-files-mode
@ -1379,6 +1380,25 @@ interfere with the default `bongo-playlist-buffer'."
:keymaps 'override :keymaps 'override
"ot" 'transmission)) "ot" 'transmission))
(use-package auth-source-pass
:defer 1
:config (auth-source-pass-enable))
(use-package pass
:defer 1)
(use-package password-store
:after pass
:general
(chris/leader-keys
"sp" 'password-store-copy))
(use-package password-store-otp
:after password-store
:general
(chris/leader-keys
"st" 'password-store-otp-token-copy))
;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions ;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions
;; in non-focused windows. ;; in non-focused windows.
(setq-default cursor-in-non-selected-windows nil) (setq-default cursor-in-non-selected-windows nil)