From a78d55965c1061a90c03bb64e9103a4500009d23 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Mon, 5 Oct 2026 02:01:03 +0200 Subject: [PATCH] . --- doomdir/config.el | 130 +++++++----------- doomdir/custom.el | 15 ++ doomdir/packages.el | 7 + hosts/main/services/elephant/supervise/pid | 2 +- hosts/main/services/elephant/supervise/status | Bin 20 -> 20 bytes hosts/main/services/emacs/supervise/pid | 2 +- hosts/main/services/emacs/supervise/status | Bin 20 -> 20 bytes hosts/main/services/hyprland/supervise/pid | 2 +- hosts/main/services/hyprland/supervise/status | Bin 20 -> 20 bytes hosts/main/setup.md | 3 + mods/fesu-services.nix | 1 + 11 files changed, 80 insertions(+), 82 deletions(-) create mode 100644 doomdir/custom.el diff --git a/doomdir/config.el b/doomdir/config.el index 84cb2cd..76b5ed7 100644 --- a/doomdir/config.el +++ b/doomdir/config.el @@ -1,100 +1,42 @@ -;;; $DOOMDIR/config.el -*- lexical-binding: t; -*- - -;; Place your private configuration here! Remember, you do not need to run 'doom -;; sync' after modifying this file! -;; Some functionality uses this to identify you, e.g. GPG configuration, email -;; clients, file templates and snippets. It is optional. -;; (setq user-full-name "Sebastian Moser" -;; user-mail-address "c2vi.dev@gmail.com") -;; Doom exposes five (optional) variables for controlling fonts in Doom: -;; -;; - `doom-font' -- the primary font to use -;; - `doom-variable-pitch-font' -- a non-monospace font (where applicable) -;; - `doom-big-font' -- used for `doom-big-font-mode'; use this for -;; presentations or streaming. -;; - `doom-symbol-font' -- for symbols -;; - `doom-serif-font' -- for the `fixed-pitch-serif' face -;; -;; See 'C-h v doom-font' for documentation and more examples of what they -;; accept. For example: -;; -;;(setq doom-font (font-spec :family "Fira Code" :size 12 :weight 'semi-light) -;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13)) -;; -;; If you or Emacs can't find your font, use 'M-x describe-font' to look them -;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to -;; refresh your font settings. If Emacs still can't find your font, it likely -;; wasn't installed correctly. Font issues are rarely Doom issues! -;; There are two ways to load a theme. Both assume the theme is installed and -;; available. You can either set `doom-theme' or manually load a theme with the -;; `load-theme' function. This is the default: -(setq doom-theme 'doom-one) -;; Specify both a dark and light theme, like so and Doom will choose which one -;; to load based on your system light/dark setting: -;; -;; (setq doom-theme '(doom-one . doom-one-light)) ; (DARK . LIGHT) -;; -;; If you want more pro-active theme switching based on OS light/dark mode, look -;; up the `auto-dark' package. +;;; relative line numbers +(setq display-line-numbers 'relative) -;; This determines the style of line numbers in effect. If set to `nil', line -;; numbers are disabled. For relative line numbers, set this to `relative'. -(setq display-line-numbers-type "relative") -;; If you use `org' and don't want your org files in the default location below, -;; change `org-directory'. It must be set before org loads! +;;; set my org directory (setq org-directory "~/work/things/org") -;; Whenever you reconfigure a package, make sure to wrap your config in an -;; `with-eval-after-load' block, otherwise Doom's defaults may override your -;; settings. E.g. -;; -;; (with-eval-after-load 'PACKAGE -;; (setq x y)) -;; -;; The exceptions to this rule: -;; -;; - Setting file/directory variables (like `org-directory') -;; - Setting variables which explicitly tell you to set them before their -;; package is loaded (see 'C-h v VARIABLE' to look them up). -;; - Setting doom variables (which start with 'doom-' or '+'). -;; -;; Here are some additional functions/macros that will help you configure Doom. -;; -;; - `load!' for loading external *.el files relative to this one -;; - `add-load-path!' for adding directories to the `load-path', relative to -;; this file. Emacs searches the `load-path' when you load packages with -;; `require' or `use-package'. -;; - `map!' for binding new keys -;; -;; To get information about any of these functions/macros, move the cursor over -;; the highlighted symbol at press 'K' (non-evil users must press 'C-c c k'). -;; This will open documentation for it, including demos of how they are used. -;; Alternatively, use `C-h o' to look up a symbol (functions, variables, faces, -;; etc). -;; -;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how -;; they are implemented. +;;; set my name and email +(setq user-full-name "Sebastian Moser" + user-mail-address "c2vi.dev@gmail.com") + +;;; theme +(setq doom-theme 'doom-one) + + +;;; C-p to be M-x (map! "C-p" #'execute-extended-command) ;;(map! :leader "a" #'execute-extended-command) ;;(map! :nv ":" #'execute-extended-command) - (after! evil ;;(map! :nv ":" #'execute-extended-command) (map! :gnv "C-p" #'execute-extended-command) - (map! :gnv "C-e" #'projectile-find-file) ) + + +;;; projectile find file - quick switcher +(after! evil + (map! :gnv "C-e" #'projectile-find-file) +) (after! 'better-jumper (map! :gnv "C-i" #'projectile-find-file) ) - (with-eval-after-load 'projectile (add-to-list 'projectile-globally-ignored-directories "node_modules") (add-to-list 'projectile-globally-ignored-directories ".obsidian") @@ -102,17 +44,19 @@ ) + +;;; obsidian (after! obsidian (setq obsidian-directory "~/work/things" obsidian-inbox-directory "semi-public" markdown-enable-wiki-links t ) - (global-obsidian-mode t) ) + ;;; clipboard (after! evil (setq interprogram-cut-function nil @@ -142,6 +86,7 @@ :i "C-v" #'my/clipboard-paste) ; insert-state paste, terminal-style + ;;; in buffer completions (setq tab-always-indent 'complete) (after! corfu @@ -181,13 +126,40 @@ (map! :leader "m r" #'eval-print-last-sexp) + +;;;; font/zoom +(setq doom-font (font-spec + ;:family "Hack Mono" + :size 22 :weight 'regular)) + + +;;; have authinfo file in my $SECRETS_DIR +(setq auth-sources '("~/secrets/authinfo")) + + + +;;; empv +(after! empv + (customize-set-variable 'empv-subsonic-username "c2vi") + (customize-set-variable 'empv-subsonic-url "https://tunes.c2vi.dev") + (customize-set-variable 'empv-subsonic-password (f-read-text "~/secrets/tunes-password")) +) + + + +;;; supersonic +(after! supersonic + ;;(setq supersonic-host "https://tunes.c2vi.dev") +) + + + ;;; scratch (defun my/scratch () (lookup-key corfu-map (kbd "C-u")) (lookup-key corfu-map (kbd "C-i")) (define-key corfu-map (kbd "C-i") 'my/corfu-insert-first) - (substitute-command-keys "\\{corfu-map}") ) -;(setq completion-styles '(base initials orderless flex partial-completion substring)) + diff --git a/doomdir/custom.el b/doomdir/custom.el new file mode 100644 index 0000000..0463f54 --- /dev/null +++ b/doomdir/custom.el @@ -0,0 +1,15 @@ +;;; -*- lexical-binding: t -*- +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(custom-safe-themes + '("0325a6b5eea7e5febae709dab35ec8648908af12cf2d2b569bedc8da0a3a81c1" + "aec7b55f2a13307a55517fdf08438863d694550565dee23181d2ebd973ebd6b8" default))) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + ) diff --git a/doomdir/packages.el b/doomdir/packages.el index 5c1a83a..c8c26ee 100644 --- a/doomdir/packages.el +++ b/doomdir/packages.el @@ -54,3 +54,10 @@ (package! tldr) (package! obsidian) +(package! empv) +(package! f) + +(package! supersonic + :recipe (:host github :repo "systemfreund/supersonic.el" ) + :pin "8d422489ffc84cc3907232afb51349c576c26cba" +) diff --git a/hosts/main/services/elephant/supervise/pid b/hosts/main/services/elephant/supervise/pid index bcbb007..c6ce0c4 100644 --- a/hosts/main/services/elephant/supervise/pid +++ b/hosts/main/services/elephant/supervise/pid @@ -1 +1 @@ -1052 +1089 diff --git a/hosts/main/services/elephant/supervise/status b/hosts/main/services/elephant/supervise/status index 72b8e80caba30042a8cb80ca98ce2c168c6f27bb..e460ce0fbf6c8e30a6d868755b7cc25137112bd1 100644 GIT binary patch literal 20 acmZ=@U|`5P5Xx?v_o>H`1;{C7U<3d)4+NtC literal 20 acmZ=@U|`7FeN=*fV{nfQ3y@RFzz6^}d<1v^ diff --git a/hosts/main/services/emacs/supervise/pid b/hosts/main/services/emacs/supervise/pid index b96bfec..8945d44 100644 --- a/hosts/main/services/emacs/supervise/pid +++ b/hosts/main/services/emacs/supervise/pid @@ -1 +1 @@ -1053 +224184 diff --git a/hosts/main/services/emacs/supervise/status b/hosts/main/services/emacs/supervise/status index 8f9f69de7808e8dd7d86fab44706b4e30234574f..7810bfe1fb8c79e608471bf3cf67828edbe5ff00 100644 GIT binary patch literal 20 bcmZ=@U|`5PSiREn`>Bu}*~|&s0 diff --git a/hosts/main/services/hyprland/supervise/pid b/hosts/main/services/hyprland/supervise/pid index f1f0ca5..d8d1443 100644 --- a/hosts/main/services/hyprland/supervise/pid +++ b/hosts/main/services/hyprland/supervise/pid @@ -1 +1 @@ -1051 +1088 diff --git a/hosts/main/services/hyprland/supervise/status b/hosts/main/services/hyprland/supervise/status index e229272e2885605be31cb01a143b752641b760d9..801ae7aaefcc54e8bcc5edd42336d51db87a3b17 100644 GIT binary patch literal 20 acmZ=@U|`5P5Xx?vcRs~|1;{C7U<3d%K?GL- literal 20 acmZ=@U|`7FeN=*f-TEWaEI>{v10w)B;{^x+ diff --git a/hosts/main/setup.md b/hosts/main/setup.md index 4e4bbab..15a0f15 100644 --- a/hosts/main/setup.md +++ b/hosts/main/setup.md @@ -69,6 +69,9 @@ ln -s ~/work/app-data/thunderbird ~/.mozilla/thunderbird sudo ln -sf $CONFIG_DIR/hosts/main/hosts /etc/hosts +# factorio +ln -s ~/secrets/factorio.cfg .factorio/config.cfg + # docker sudo pacman -S docker sudo systemctl enable --now docker diff --git a/mods/fesu-services.nix b/mods/fesu-services.nix index 79e7e6c..dedf128 100644 --- a/mods/fesu-services.nix +++ b/mods/fesu-services.nix @@ -509,6 +509,7 @@ in { providerURL = "https://auth.ppc.social"; callbackURL = "/oauth2/callback"; clientSecret = builtins.readFile "${secretsDir}/navidrome-oidc-secret"; + excludedURLs = [ "/rest" ]; clientID = "393371735229005827"; scopes = [ "openid" "profile" "email" ]; sessionEncryptionKey = builtins.readFile "${secretsDir}/navidrome-session-encryption-key";