Compare commits
9
Commits
upgrade
...
b91a681072
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b91a681072 | ||
|
|
5d502329a2 | ||
|
|
8e9be9e05d | ||
|
|
6aa7adfa66 | ||
|
|
cc48c11448 | ||
|
|
7e73ef399a | ||
|
|
ba158c9ee8 | ||
|
|
5c5b6682ae | ||
|
|
90ad26daf6 |
@@ -31,7 +31,7 @@ let
|
|||||||
display = ["year" "album" "genres"];
|
display = ["year" "album" "genres"];
|
||||||
separator = "•";
|
separator = "•";
|
||||||
};
|
};
|
||||||
blacklist.libraries = [
|
blacklist.media_types = [
|
||||||
"episode"
|
"episode"
|
||||||
"movie"
|
"movie"
|
||||||
"book"
|
"book"
|
||||||
|
|||||||
@@ -48,7 +48,10 @@ directory."
|
|||||||
'("-l" ; Mandatory!
|
'("-l" ; Mandatory!
|
||||||
"--almost-all" ; Show hidden files; omit '.' and '..'.
|
"--almost-all" ; Show hidden files; omit '.' and '..'.
|
||||||
"--human-readable" ; Display sizes in human-readable units.
|
"--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
|
;; Always copy recursively
|
||||||
(dired-recursive-copies 'always)
|
(dired-recursive-copies 'always)
|
||||||
|
|||||||
@@ -15,4 +15,5 @@
|
|||||||
,(plist-get (custom-face-attributes-get font-lock-comment-face
|
,(plist-get (custom-face-attributes-get font-lock-comment-face
|
||||||
(selected-frame))
|
(selected-frame))
|
||||||
:foreground))))))
|
:foreground))))))
|
||||||
|
|
||||||
(provide 'syd/form-feed)
|
(provide 'syd/form-feed)
|
||||||
|
|||||||
@@ -25,8 +25,12 @@
|
|||||||
:general (:keymaps 'syd-leader-code-map
|
:general (:keymaps 'syd-leader-code-map
|
||||||
"a" #'lsp-execute-code-action
|
"a" #'lsp-execute-code-action
|
||||||
"r" #'lsp-rename)
|
"r" #'lsp-rename)
|
||||||
:custom (; Fixes type error when using rename.
|
:custom (;; Fixes type error when using rename.
|
||||||
(lsp-rename-use-prepare nil))
|
(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
|
:config
|
||||||
(syd-defadvice syd-lsp-install-server-a ()
|
(syd-defadvice syd-lsp-install-server-a ()
|
||||||
"Override and disbale `lsp-install-server'"
|
"Override and disbale `lsp-install-server'"
|
||||||
|
|||||||
@@ -202,7 +202,8 @@ form."
|
|||||||
s))))
|
s))))
|
||||||
|
|
||||||
(defun syd-project-relative-file-name (file-name)
|
(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
|
(defvar syd-insert-file-name-alist
|
||||||
`((,#'syd-project-relative-file-name . "Project-relative")
|
`((,#'syd-project-relative-file-name . "Project-relative")
|
||||||
@@ -248,6 +249,7 @@ form."
|
|||||||
|
|
||||||
(defun syd-import-systemd-environment ()
|
(defun syd-import-systemd-environment ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
(let ((blacklist '("TERM")))
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(shell-command "systemctl --user show-environment" (current-buffer))
|
(shell-command "systemctl --user show-environment" (current-buffer))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
@@ -261,6 +263,7 @@ form."
|
|||||||
(let ((var (match-string 1))
|
(let ((var (match-string 1))
|
||||||
(val (or (match-string 2)
|
(val (or (match-string 2)
|
||||||
(match-string 3))))
|
(match-string 3))))
|
||||||
(setenv var val)))))
|
(unless (member var blacklist)
|
||||||
|
(setenv var val)))))))
|
||||||
|
|
||||||
(provide 'syd/prelude)
|
(provide 'syd/prelude)
|
||||||
|
|||||||
@@ -20,7 +20,8 @@
|
|||||||
:load-buffer #'geiser-eval-buffer)
|
:load-buffer #'geiser-eval-buffer)
|
||||||
(syd-push
|
(syd-push
|
||||||
shackle-rules
|
shackle-rules
|
||||||
`("*Geiser Documentation*" ,@syd-help-popup-options)))
|
`("*Geiser Documentation*" ,@syd-help-popup-options)
|
||||||
|
`("*Geiser Debug*" ,@syd-help-popup-options)))
|
||||||
|
|
||||||
(use-package geiser-guile)
|
(use-package geiser-guile)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
(require 'syd/base)
|
(require 'syd/base)
|
||||||
|
|
||||||
(use-package transient
|
(use-package transient
|
||||||
:straight nil
|
|
||||||
:custom ((transient-history-file
|
:custom ((transient-history-file
|
||||||
(file-name-concat syd-data-dir "transient/history.el"))))
|
(file-name-concat syd-data-dir "transient/history.el"))))
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ in {
|
|||||||
# Mount our NAS's 'media' share.
|
# Mount our NAS's 'media' share.
|
||||||
fileSystems."/media" = {
|
fileSystems."/media" = {
|
||||||
# DNS is seemingly unavailable to the mount service.
|
# DNS is seemingly unavailable to the mount service.
|
||||||
device = "//192.168.68.62/media";
|
device = "//10.0.0.203/media";
|
||||||
mountPoint = "/media";
|
mountPoint = "/media";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options = [
|
options = [
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
config = {
|
config = {
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"100.95.131.43" = [ "whitepc" ];
|
"100.95.131.43" = [ "whitepc" ];
|
||||||
"192.168.68.66" = [ "guix-rebound" "sydpc" ];
|
"10.0.0.109" = [ "guix-rebound" "sydpc" ];
|
||||||
"192.168.68.79" = [ "deertopia" ];
|
"10.0.0.248" = [ "deertopia" ];
|
||||||
"192.168.68.55" = [ "fruitbook" ];
|
"10.0.0.218" = [ "fruitbook" ];
|
||||||
"192.168.68.62" = [ "buffalo-nas" ];
|
"10.0.0.203" = [ "buffalo-nas" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user