Compare commits

9 Commits
Author SHA1 Message Date
msyds b91a681072 fix(emacs): disable lsp formatting
build / build (push) Failing after 43s
2026-07-07 16:43:23 -06:00
msyds 5d502329a2 fix(emacs): don't import TERM from systemd 2026-07-07 16:40:01 -06:00
msyds 8e9be9e05d fix(servarr): update ip
build / build (push) Failing after 45s
2026-06-30 18:42:19 -06:00
msyds 6aa7adfa66 fix(jellyfin-rpc): blacklist media types
build / build (push) Failing after 52s
2026-06-30 16:00:24 -06:00
msyds cc48c11448 fix: update host aliases
build / build (push) Failing after 30s
2026-06-29 19:15:49 -06:00
msyds 7e73ef399a chore(emacs): dired switches 2026-06-29 19:15:23 -06:00
msyds ba158c9ee8 fix(emacs): transient comes from straight 2026-06-29 19:15:09 -06:00
msyds 5c5b6682ae fix(emacs): geiser popup
build / build (push) Failing after 24s
2026-06-29 19:14:45 -06:00
msyds 90ad26daf6 fix(emacs): project relative path: return nil when not in project
build / build (push) Failing after 38s
2026-06-29 19:05:28 -06:00
9 changed files with 37 additions and 26 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ let
display = ["year" "album" "genres"];
separator = "•";
};
blacklist.libraries = [
blacklist.media_types = [
"episode"
"movie"
"book"
@@ -48,7 +48,10 @@ directory."
'("-l" ; Mandatory!
"--almost-all" ; Show hidden files; omit '.' and '..'.
"--human-readable" ; Display sizes in human-readable units.
"--time-style=+") ; Omit times/dates.
"--time-style=+" ; Omit times/dates.
"-D" ; special diredslop
"-v" ; sort dotfiles first
"--group-directories-first")
" "))
;; Always copy recursively
(dired-recursive-copies 'always)
@@ -15,4 +15,5 @@
,(plist-get (custom-face-attributes-get font-lock-comment-face
(selected-frame))
:foreground))))))
(provide 'syd/form-feed)
@@ -25,8 +25,12 @@
:general (:keymaps 'syd-leader-code-map
"a" #'lsp-execute-code-action
"r" #'lsp-rename)
:custom (; Fixes type error when using rename.
(lsp-rename-use-prepare nil))
:custom (;; Fixes type error when using rename.
(lsp-rename-use-prepare nil)
;; Don't override `indent-region' with the server's
;; formatting functionality. Very silly, I think —
;; indentation and formatting are different things.
(lsp-enable-indentation nil))
:config
(syd-defadvice syd-lsp-install-server-a ()
"Override and disbale `lsp-install-server'"
@@ -202,7 +202,8 @@ form."
s))))
(defun syd-project-relative-file-name (file-name)
(file-relative-name file-name (project-root (project-current))))
(when-let* ((proj (project-current)))
(file-relative-name file-name (project-root proj))))
(defvar syd-insert-file-name-alist
`((,#'syd-project-relative-file-name . "Project-relative")
@@ -248,19 +249,21 @@ form."
(defun syd-import-systemd-environment ()
(interactive)
(with-temp-buffer
(shell-command "systemctl --user show-environment" (current-buffer))
(goto-char (point-min))
(while (re-search-forward
(rx bol (group (+ (not "=")))
"="
(or (and "$'" (group (* (not "'"))) "'")
(group (* any)))
eol)
nil t)
(let ((var (match-string 1))
(val (or (match-string 2)
(match-string 3))))
(setenv var val)))))
(let ((blacklist '("TERM")))
(with-temp-buffer
(shell-command "systemctl --user show-environment" (current-buffer))
(goto-char (point-min))
(while (re-search-forward
(rx bol (group (+ (not "=")))
"="
(or (and "$'" (group (* (not "'"))) "'")
(group (* any)))
eol)
nil t)
(let ((var (match-string 1))
(val (or (match-string 2)
(match-string 3))))
(unless (member var blacklist)
(setenv var val)))))))
(provide 'syd/prelude)
@@ -20,7 +20,8 @@
:load-buffer #'geiser-eval-buffer)
(syd-push
shackle-rules
`("*Geiser Documentation*" ,@syd-help-popup-options)))
`("*Geiser Documentation*" ,@syd-help-popup-options)
`("*Geiser Debug*" ,@syd-help-popup-options)))
(use-package geiser-guile)
@@ -3,7 +3,6 @@
(require 'syd/base)
(use-package transient
:straight nil
:custom ((transient-history-file
(file-name-concat syd-data-dir "transient/history.el"))))
+1 -1
View File
@@ -36,7 +36,7 @@ in {
# Mount our NAS's 'media' share.
fileSystems."/media" = {
# DNS is seemingly unavailable to the mount service.
device = "//192.168.68.62/media";
device = "//10.0.0.203/media";
mountPoint = "/media";
fsType = "cifs";
options = [
+4 -4
View File
@@ -4,10 +4,10 @@
config = {
networking.hosts = {
"100.95.131.43" = [ "whitepc" ];
"192.168.68.66" = [ "guix-rebound" "sydpc" ];
"192.168.68.79" = [ "deertopia" ];
"192.168.68.55" = [ "fruitbook" ];
"192.168.68.62" = [ "buffalo-nas" ];
"10.0.0.109" = [ "guix-rebound" "sydpc" ];
"10.0.0.248" = [ "deertopia" ];
"10.0.0.218" = [ "fruitbook" ];
"10.0.0.203" = [ "buffalo-nas" ];
};
};
}