wip: SPLIT ME
This commit is contained in:
@@ -49,6 +49,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.xserver.desktopManager.plasma5.enable = true;
|
||||||
|
|
||||||
# Disable systemd-sleep. Let KDE or whatever dim the screen without
|
# Disable systemd-sleep. Let KDE or whatever dim the screen without
|
||||||
# suspending the computer.
|
# suspending the computer.
|
||||||
systemd.sleep.extraConfig = ''
|
systemd.sleep.extraConfig = ''
|
||||||
@@ -112,6 +114,8 @@
|
|||||||
|
|
||||||
# services.pulseaudio.package = pkgs.pulseaudioFull;
|
# services.pulseaudio.package = pkgs.pulseaudioFull;
|
||||||
|
|
||||||
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
# Usually we try to delegate declarations of globally-available packages to
|
# Usually we try to delegate declarations of globally-available packages to
|
||||||
# separate modules. These are some exceptional essentials.
|
# separate modules. These are some exceptional essentials.
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
|||||||
@@ -59,5 +59,5 @@ in {
|
|||||||
# else pkgs.vesktop;
|
# else pkgs.vesktop;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ in {
|
|||||||
vesktop = {
|
vesktop = {
|
||||||
state.firstLaunch = false;
|
state.firstLaunch = false;
|
||||||
settings = {
|
settings = {
|
||||||
discordBranch = "canary";
|
|
||||||
minimizeToTray = false;
|
minimizeToTray = false;
|
||||||
arRPC = true;
|
arRPC = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
;;; syd-lang-c.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(with-eval-after-load 'cc-mode
|
||||||
|
(dolist (c '(?_))
|
||||||
|
(modify-syntax-entry c "w" c-mode-syntax-table)))
|
||||||
|
|
||||||
|
(provide 'syd-lang-c)
|
||||||
@@ -148,6 +148,7 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
|
|||||||
'(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
|
'(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
|
||||||
`(org-block ((t (:inherit fixed-pitch
|
`(org-block ((t (:inherit fixed-pitch
|
||||||
,@(funcall bg 'sumi-ink-2)))))
|
,@(funcall bg 'sumi-ink-2)))))
|
||||||
|
`(org-quote ((t (:inherit (variable-pitch org-block)))))
|
||||||
'(org-code ((t (:inherit (shadow fixed-pitch))))))))
|
'(org-code ((t (:inherit (shadow fixed-pitch))))))))
|
||||||
|
|
||||||
(evil-define-command syd-org-yank-link (register)
|
(evil-define-command syd-org-yank-link (register)
|
||||||
@@ -361,9 +362,7 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
|
|||||||
'((t (:inherit (bold error org-todo)))) ""))
|
'((t (:inherit (bold error org-todo)))) ""))
|
||||||
:custom ((org-startup-folded 'content)
|
:custom ((org-startup-folded 'content)
|
||||||
(org-directory "~/org")
|
(org-directory "~/org")
|
||||||
;; Let the agenda be comfortably mutable by storing the list of
|
(org-agenda-files (list org-directory))
|
||||||
;; agenda files in a file.
|
|
||||||
(org-agenda-files "~/org/agenda-files")
|
|
||||||
(org-agenda-deadline-faces '((1.001 . error)
|
(org-agenda-deadline-faces '((1.001 . error)
|
||||||
(1.0 . org-warning)
|
(1.0 . org-warning)
|
||||||
(0.5 . org-upcoming-deadline)
|
(0.5 . org-upcoming-deadline)
|
||||||
@@ -533,6 +532,11 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
|
|||||||
:target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>")
|
:target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>")
|
||||||
:empty-lines 1))))
|
:empty-lines 1))))
|
||||||
:config
|
:config
|
||||||
|
(add-to-list 'org-agenda-files org-roam-directory)
|
||||||
|
(with-eval-after-load 'org-roam-dailies
|
||||||
|
(add-to-list 'org-agenda-files
|
||||||
|
(file-name-concat org-roam-directory
|
||||||
|
org-roam-dailies-directory)))
|
||||||
(defun syd-org-init-roam-h ()
|
(defun syd-org-init-roam-h ()
|
||||||
"Setup `org-roam' but don't immediately initialize its database. Instead,
|
"Setup `org-roam' but don't immediately initialize its database. Instead,
|
||||||
initialize it when it will be actually needed."
|
initialize it when it will be actually needed."
|
||||||
@@ -589,5 +593,12 @@ In case of failure, fail gracefully."
|
|||||||
(use-package org-noter
|
(use-package org-noter
|
||||||
:commands org-noter)
|
:commands org-noter)
|
||||||
|
|
||||||
|
(use-package org-contrib)
|
||||||
|
|
||||||
|
(use-package ox-extra
|
||||||
|
:after org-contrib
|
||||||
|
:config
|
||||||
|
(ox-extras-activate '(latex-header-blocks ignore-headlines)))
|
||||||
|
|
||||||
(provide 'syd-org)
|
(provide 'syd-org)
|
||||||
;;; syd-org.el ends here
|
;;; syd-org.el ends here
|
||||||
|
|||||||
@@ -8,7 +8,9 @@
|
|||||||
:magic ("%PDF" . pdf-view-mode)
|
:magic ("%PDF" . pdf-view-mode)
|
||||||
:general (:keymaps 'pdf-view-mode-map
|
:general (:keymaps 'pdf-view-mode-map
|
||||||
:states 'motion
|
:states 'motion
|
||||||
"q" #'kill-current-buffer)
|
"q" #'kill-current-buffer
|
||||||
|
"d" #'pdf-view-scroll-up-or-next-page
|
||||||
|
"u" #'pdf-view-scroll-down-or-previous-page)
|
||||||
:custom ((pdf-view-display-size 'fit-page))
|
:custom ((pdf-view-display-size 'fit-page))
|
||||||
:config
|
:config
|
||||||
;; HACK: Fix "Symbol's function definition is void:
|
;; HACK: Fix "Symbol's function definition is void:
|
||||||
|
|||||||
@@ -56,13 +56,12 @@
|
|||||||
:straight (:type git
|
:straight (:type git
|
||||||
:host github
|
:host github
|
||||||
:repo "msyds/projection"
|
:repo "msyds/projection"
|
||||||
:files (:defaults "src/projection-multi/*.el"))
|
:files ("src/projection-multi/*.el"))
|
||||||
:general (:keymaps 'syd-leader-project-map
|
:general (:keymaps 'syd-leader-project-map
|
||||||
"M" #'projection-multi-compile)
|
"M" #'projection-multi-compile)
|
||||||
:after projection
|
:after projection
|
||||||
:config
|
:config
|
||||||
(require 'projection-multi-bb)
|
(require 'projection-multi-bb))
|
||||||
(setq projection-multi-bb-executable (executable-find "bb")))
|
|
||||||
|
|
||||||
;; ;; Embark integration for projection-multi.
|
;; ;; Embark integration for projection-multi.
|
||||||
;; (use-package projection-multi-embark
|
;; (use-package projection-multi-embark
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
nil
|
|
||||||
@@ -140,7 +140,7 @@ in {
|
|||||||
}
|
}
|
||||||
{ # Block private DMs from screencast...
|
{ # Block private DMs from screencast...
|
||||||
matches = [
|
matches = [
|
||||||
{ title = "Element \\|"; }
|
{ title = "Element.*\\|"; }
|
||||||
{ title = "Discord.*@"; }
|
{ title = "Discord.*@"; }
|
||||||
];
|
];
|
||||||
excludes = [
|
excludes = [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
# TODO: Don't hard-code `persist`. Use
|
# TODO: Don't hard-code `persist`. Use
|
||||||
# config.sydnix.impermanence.persistGroupName.
|
# config.sydnix.impermanence.persistGroupName.
|
||||||
extraGroups = [ "wheel" "persist" ];
|
extraGroups = [ "wheel" "persist" "input" ];
|
||||||
initialHashedPassword =
|
initialHashedPassword =
|
||||||
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
||||||
|
|
||||||
@@ -21,6 +21,8 @@
|
|||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
home.preferXdgDirectories = true;
|
home.preferXdgDirectories = true;
|
||||||
|
|
||||||
|
home.packages = [ pkgs.sioyek ];
|
||||||
|
|
||||||
sydnix = {
|
sydnix = {
|
||||||
gpg.enable = true;
|
gpg.enable = true;
|
||||||
sops = {
|
sops = {
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ in lib.mkMerge [
|
|||||||
"Pictures"
|
"Pictures"
|
||||||
"Documents"
|
"Documents"
|
||||||
"Videos"
|
"Videos"
|
||||||
|
"Games"
|
||||||
"src" # My projects.
|
"src" # My projects.
|
||||||
"scratch" # My playgrounds.
|
"scratch" # My playgrounds.
|
||||||
"etc" # Miscellaneous belongings.
|
"etc" # Miscellaneous belongings.
|
||||||
|
|||||||
Reference in New Issue
Block a user