mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
chore: move some folder to new locations
Some checks are pending
Flake check / Check flake (push) Waiting to run
Some checks are pending
Flake check / Check flake (push) Waiting to run
This commit is contained in:
parent
667a923e7a
commit
cef4da535f
4 changed files with 209 additions and 60 deletions
|
|
@ -5374,12 +5374,12 @@ Here I disable global completion to prevent redundant compinit calls and cache i
|
||||||
id = "default";
|
id = "default";
|
||||||
};
|
};
|
||||||
"Obsidian" = {
|
"Obsidian" = {
|
||||||
path = "${homeDir}/Nextcloud/Obsidian";
|
path = "${homeDir}/Obsidian";
|
||||||
inherit devices;
|
inherit devices;
|
||||||
id = "yjvni-9eaa7";
|
id = "yjvni-9eaa7";
|
||||||
};
|
};
|
||||||
"Org" = {
|
"Org" = {
|
||||||
path = "${homeDir}/Nextcloud/Org";
|
path = "${homeDir}/Org";
|
||||||
inherit devices;
|
inherit devices;
|
||||||
id = "a7xnl-zjj3d";
|
id = "a7xnl-zjj3d";
|
||||||
};
|
};
|
||||||
|
|
@ -19849,13 +19849,13 @@ This part of the configuration mostly makes some aesthetic changes, enables neat
|
||||||
(defun swarsel/org-agenda-done-and-archive ()
|
(defun swarsel/org-agenda-done-and-archive ()
|
||||||
"Mark TODO at point as DONE, archive it, and save all agenda files."
|
"Mark TODO at point as DONE, archive it, and save all agenda files."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((org-archive-location "~/Nextcloud/Org/Archive.org::Archive"))
|
(let ((org-archive-location "~/Org/Archive.org::Archive"))
|
||||||
(org-agenda-todo "DONE")
|
(org-agenda-todo "DONE")
|
||||||
(org-agenda-archive)
|
(org-agenda-archive)
|
||||||
(dolist (buf (buffer-list))
|
(dolist (buf (buffer-list))
|
||||||
(with-current-buffer buf
|
(with-current-buffer buf
|
||||||
(when (and buffer-file-name
|
(when (and buffer-file-name
|
||||||
(string-prefix-p (expand-file-name "~/Nextcloud/Org/") (file-truename buffer-file-name))
|
(string-prefix-p (expand-file-name "~/Org/") (file-truename buffer-file-name))
|
||||||
(derived-mode-p 'org-mode))
|
(derived-mode-p 'org-mode))
|
||||||
(save-buffer))))))
|
(save-buffer))))))
|
||||||
|
|
||||||
|
|
@ -19884,14 +19884,14 @@ This part of the configuration mostly makes some aesthetic changes, enables neat
|
||||||
(setq org-image-actual-width nil)
|
(setq org-image-actual-width nil)
|
||||||
(setq org-format-latex-options '(:foreground "White" :background default :scale 2.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")))
|
(setq org-format-latex-options '(:foreground "White" :background default :scale 2.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")))
|
||||||
|
|
||||||
(setq org-agenda-files '("/home/swarsel/Nextcloud/Org/Tasks.org"
|
(setq org-agenda-files '("/home/swarsel/Org/Tasks.org"
|
||||||
"/home/swarsel/Nextcloud/Org/Archive.org"
|
"/home/swarsel/Org/Archive.org"
|
||||||
))
|
))
|
||||||
|
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "Todo" entry (file+headline "~/Nextcloud/Org/Tasks.org" "Inbox")
|
'(("t" "Todo" entry (file+headline "~/Org/Tasks.org" "Inbox")
|
||||||
"* TODO %?\n %i\n %a")
|
"* TODO %?\n %i\n %a")
|
||||||
("j" "Journal" entry (file+datetree "~/Nextcloud/Org/Journal.org")
|
("j" "Journal" entry (file+datetree "~/Org/Journal.org")
|
||||||
"* %?\nEntered on %U\n %i\n %a")))
|
"* %?\nEntered on %U\n %i\n %a")))
|
||||||
|
|
||||||
(setq org-refile-targets
|
(setq org-refile-targets
|
||||||
|
|
|
||||||
|
|
@ -807,13 +807,13 @@ create a new one."
|
||||||
(defun swarsel/org-agenda-done-and-archive ()
|
(defun swarsel/org-agenda-done-and-archive ()
|
||||||
"Mark TODO at point as DONE, archive it, and save all agenda files."
|
"Mark TODO at point as DONE, archive it, and save all agenda files."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((org-archive-location "~/Nextcloud/Org/Archive.org::Archive"))
|
(let ((org-archive-location "~/Org/Archive.org::Archive"))
|
||||||
(org-agenda-todo "DONE")
|
(org-agenda-todo "DONE")
|
||||||
(org-agenda-archive)
|
(org-agenda-archive)
|
||||||
(dolist (buf (buffer-list))
|
(dolist (buf (buffer-list))
|
||||||
(with-current-buffer buf
|
(with-current-buffer buf
|
||||||
(when (and buffer-file-name
|
(when (and buffer-file-name
|
||||||
(string-prefix-p (expand-file-name "~/Nextcloud/Org/") (file-truename buffer-file-name))
|
(string-prefix-p (expand-file-name "~/Org/") (file-truename buffer-file-name))
|
||||||
(derived-mode-p 'org-mode))
|
(derived-mode-p 'org-mode))
|
||||||
(save-buffer))))))
|
(save-buffer))))))
|
||||||
|
|
||||||
|
|
@ -842,14 +842,14 @@ create a new one."
|
||||||
(setq org-image-actual-width nil)
|
(setq org-image-actual-width nil)
|
||||||
(setq org-format-latex-options '(:foreground "White" :background default :scale 2.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")))
|
(setq org-format-latex-options '(:foreground "White" :background default :scale 2.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")))
|
||||||
|
|
||||||
(setq org-agenda-files '("/home/swarsel/Nextcloud/Org/Tasks.org"
|
(setq org-agenda-files '("/home/swarsel/Org/Tasks.org"
|
||||||
"/home/swarsel/Nextcloud/Org/Archive.org"
|
"/home/swarsel/Org/Archive.org"
|
||||||
))
|
))
|
||||||
|
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "Todo" entry (file+headline "~/Nextcloud/Org/Tasks.org" "Inbox")
|
'(("t" "Todo" entry (file+headline "~/Org/Tasks.org" "Inbox")
|
||||||
"* TODO %?\n %i\n %a")
|
"* TODO %?\n %i\n %a")
|
||||||
("j" "Journal" entry (file+datetree "~/Nextcloud/Org/Journal.org")
|
("j" "Journal" entry (file+datetree "~/Org/Journal.org")
|
||||||
"* %?\nEntered on %U\n %i\n %a")))
|
"* %?\nEntered on %U\n %i\n %a")))
|
||||||
|
|
||||||
(setq org-refile-targets
|
(setq org-refile-targets
|
||||||
|
|
|
||||||
237
index.html
237
index.html
|
|
@ -3,7 +3,7 @@
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2025-10-07 Di 21:23 -->
|
<!-- 2025-10-09 Do 00:17 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>SwarselSystems: NixOS + Emacs Configurationo</title>
|
<title>SwarselSystems: NixOS + Emacs Configurationo</title>
|
||||||
|
|
@ -443,8 +443,8 @@
|
||||||
<li><a href="#h:15b581ab-09fe-4f84-af26-2f1fbf7d726b">3.2.5.8. Hibernation</a></li>
|
<li><a href="#h:15b581ab-09fe-4f84-af26-2f1fbf7d726b">3.2.5.8. Hibernation</a></li>
|
||||||
<li><a href="#h:86fb3236-9e18-43f0-8a08-3a2acd61cc98">3.2.5.9. BTRFS</a></li>
|
<li><a href="#h:86fb3236-9e18-43f0-8a08-3a2acd61cc98">3.2.5.9. BTRFS</a></li>
|
||||||
<li><a href="#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf">3.2.5.10. work</a></li>
|
<li><a href="#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf">3.2.5.10. work</a></li>
|
||||||
<li><a href="#orgeec7429">3.2.5.11. microvm-host</a></li>
|
<li><a href="#org5ceed86">3.2.5.11. microvm-host</a></li>
|
||||||
<li><a href="#org6d940c0">3.2.5.12. microvm-guest</a></li>
|
<li><a href="#orgfc70047">3.2.5.12. microvm-guest</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
@ -494,12 +494,12 @@
|
||||||
<li><a href="#h:99d05729-df35-4958-9940-3319d6a41359">3.3.1.30.3. Mako</a></li>
|
<li><a href="#h:99d05729-df35-4958-9940-3319d6a41359">3.3.1.30.3. Mako</a></li>
|
||||||
<li><a href="#h:388e71be-f00a-4d45-ade1-218ce942057d">3.3.1.30.4. SwayOSD</a></li>
|
<li><a href="#h:388e71be-f00a-4d45-ade1-218ce942057d">3.3.1.30.4. SwayOSD</a></li>
|
||||||
<li><a href="#h:1598c90b-f195-41a0-9132-94612edf3586">3.3.1.30.5. yubikey-touch-detector</a></li>
|
<li><a href="#h:1598c90b-f195-41a0-9132-94612edf3586">3.3.1.30.5. yubikey-touch-detector</a></li>
|
||||||
<li><a href="#org7be9024">3.3.1.30.6. blueman-applet</a></li>
|
<li><a href="#org511d2cd">3.3.1.30.6. blueman-applet</a></li>
|
||||||
<li><a href="#orgaf613e6">3.3.1.30.7. network-manager-applet</a></li>
|
<li><a href="#org539ee89">3.3.1.30.7. network-manager-applet</a></li>
|
||||||
<li><a href="#orgcdbb2b4">3.3.1.30.8. obsidian service for tray</a></li>
|
<li><a href="#orge9824cd">3.3.1.30.8. obsidian service for tray</a></li>
|
||||||
<li><a href="#org43bece4">3.3.1.30.9. anki service for tray</a></li>
|
<li><a href="#orgd30eeb2">3.3.1.30.9. anki service for tray</a></li>
|
||||||
<li><a href="#org6a2c6a6">3.3.1.30.10. element service for tray</a></li>
|
<li><a href="#org6611018">3.3.1.30.10. element service for tr</a></li>
|
||||||
<li><a href="#org7f443cf">3.3.1.30.11. vesktop service for tray</a></li>
|
<li><a href="#org7e5177f">3.3.1.30.11. vesktop service for tray</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#h:02df9dfc-d1af-4a37-a7a0-d8da0af96a20">3.3.1.31. Sway</a></li>
|
<li><a href="#h:02df9dfc-d1af-4a37-a7a0-d8da0af96a20">3.3.1.31. Sway</a></li>
|
||||||
|
|
@ -508,6 +508,7 @@
|
||||||
<li><a href="#h:7d384e3b-1be7-4644-b304-ada4af0b692b">3.3.1.34. gpg-agent</a></li>
|
<li><a href="#h:7d384e3b-1be7-4644-b304-ada4af0b692b">3.3.1.34. gpg-agent</a></li>
|
||||||
<li><a href="#h:74e236be-a977-4d38-b8c5-0b9feef8af91">3.3.1.35. gammastep</a></li>
|
<li><a href="#h:74e236be-a977-4d38-b8c5-0b9feef8af91">3.3.1.35. gammastep</a></li>
|
||||||
<li><a href="#h:d1fb3075-ad52-4c1b-ba45-5ddbd0d3b708">3.3.1.36. Spicetify</a></li>
|
<li><a href="#h:d1fb3075-ad52-4c1b-ba45-5ddbd0d3b708">3.3.1.36. Spicetify</a></li>
|
||||||
|
<li><a href="#orgfe3cf96">3.3.1.37. Obsidian</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb">3.3.2. Server</a>
|
<li><a href="#h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb">3.3.2. Server</a>
|
||||||
|
|
@ -572,7 +573,7 @@
|
||||||
<li><a href="#h:c3362d4e-d3a8-43e8-9ef7-272b6de0572e">3.5.31. swarsel-build</a></li>
|
<li><a href="#h:c3362d4e-d3a8-43e8-9ef7-272b6de0572e">3.5.31. swarsel-build</a></li>
|
||||||
<li><a href="#h:95ebfd13-1f6b-427f-950d-e30c1ed6f9fa">3.5.32. swarsel-instantiate</a></li>
|
<li><a href="#h:95ebfd13-1f6b-427f-950d-e30c1ed6f9fa">3.5.32. swarsel-instantiate</a></li>
|
||||||
<li><a href="#h:02842543-caca-4d4c-a4d2-7ac749b5c136">3.5.33. sshrm</a></li>
|
<li><a href="#h:02842543-caca-4d4c-a4d2-7ac749b5c136">3.5.33. sshrm</a></li>
|
||||||
<li><a href="#org3fec506">3.5.34. endme</a></li>
|
<li><a href="#orgcf33c04">3.5.34. endme</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#h:f0f1c961-3e7a-47b8-99ab-1654bb45dffc">3.6. Profiles</a>
|
<li><a href="#h:f0f1c961-3e7a-47b8-99ab-1654bb45dffc">3.6. Profiles</a>
|
||||||
|
|
@ -581,7 +582,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#h:32d654de-8db2-403a-9a27-4c46d7b9172d">3.6.1.1. Personal</a></li>
|
<li><a href="#h:32d654de-8db2-403a-9a27-4c46d7b9172d">3.6.1.1. Personal</a></li>
|
||||||
<li><a href="#h:b926f0c8-7968-4079-924c-a5d0ae4d3a45">3.6.1.2. Minimal</a></li>
|
<li><a href="#h:b926f0c8-7968-4079-924c-a5d0ae4d3a45">3.6.1.2. Minimal</a></li>
|
||||||
<li><a href="#orge31a252">3.6.1.3. Optionals</a></li>
|
<li><a href="#org16ac549">3.6.1.3. Optionals</a></li>
|
||||||
<li><a href="#h:b79fbb59-9cf2-48eb-b469-2589223dda95">3.6.1.4. Chaostheatre</a></li>
|
<li><a href="#h:b79fbb59-9cf2-48eb-b469-2589223dda95">3.6.1.4. Chaostheatre</a></li>
|
||||||
<li><a href="#h:cb3631a8-9c1b-42f2-ab01-502c7b4c273d">3.6.1.5. Work</a></li>
|
<li><a href="#h:cb3631a8-9c1b-42f2-ab01-502c7b4c273d">3.6.1.5. Work</a></li>
|
||||||
<li><a href="#h:87a83b10-3c2f-407c-89aa-922ad77748a4">3.6.1.6. Uni</a></li>
|
<li><a href="#h:87a83b10-3c2f-407c-89aa-922ad77748a4">3.6.1.6. Uni</a></li>
|
||||||
|
|
@ -824,7 +825,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<b>This file has 94167 words spanning 24116 lines and was last revised on 2025-10-07 21:23:03 +0200.</b>
|
<b>This file has 94403 words spanning 24261 lines and was last revised on 2025-10-09 00:17:29 +0200.</b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
@ -893,7 +894,7 @@ This section defines my Emacs configuration. For a while, I considered to use ry
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2025-10-07 21:23:03 +0200)
|
My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2025-10-09 00:17:29 +0200)
|
||||||
</p></li>
|
</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
@ -1338,6 +1339,7 @@ This provides devshell support for flake-parts</li>
|
||||||
nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11";
|
nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||||
systems.url = "github:nix-systems/default";
|
systems.url = "github:nix-systems/default";
|
||||||
swarsel-modules.url = "github:Swarsel/swarsel-modules/main";
|
swarsel-modules.url = "github:Swarsel/swarsel-modules/main";
|
||||||
|
swarsel-nix.url = "github:Swarsel/swarsel-nix/main";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
# url = "github:Swarsel/home-manager/module/pizauth";
|
# url = "github:Swarsel/home-manager/module/pizauth";
|
||||||
|
|
@ -2590,6 +2592,12 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
swarsel-nix = final: prev: {
|
||||||
|
swarsel-nix = import inputs.swarsel-nix {
|
||||||
|
pkgs = prev;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
zjstatus = _: prev: {
|
zjstatus = _: prev: {
|
||||||
zjstatus = inputs.zjstatus.packages.${prev.system}.default;
|
zjstatus = inputs.zjstatus.packages.${prev.system}.default;
|
||||||
};
|
};
|
||||||
|
|
@ -2602,6 +2610,7 @@ in
|
||||||
// (nixpkgs-kernel final prev)
|
// (nixpkgs-kernel final prev)
|
||||||
// (nixpkgs-stable24_05 final prev)
|
// (nixpkgs-stable24_05 final prev)
|
||||||
// (nixpkgs-stable24_11 final prev)
|
// (nixpkgs-stable24_11 final prev)
|
||||||
|
// (swarsel-nix final prev)
|
||||||
// (zjstatus final prev)
|
// (zjstatus final prev)
|
||||||
// (inputs.niri-flake.overlays.niri final prev)
|
// (inputs.niri-flake.overlays.niri final prev)
|
||||||
// (inputs.vbc-nix.overlays.default final prev)
|
// (inputs.vbc-nix.overlays.default final prev)
|
||||||
|
|
@ -6212,7 +6221,7 @@ in
|
||||||
wifi = {
|
wifi = {
|
||||||
# mac-address-blacklist = "";
|
# mac-address-blacklist = "";
|
||||||
mode = "infrastructure";
|
mode = "infrastructure";
|
||||||
band = "a";
|
# band = "a";
|
||||||
ssid = wlan1;
|
ssid = wlan1;
|
||||||
};
|
};
|
||||||
wifi-security = {
|
wifi-security = {
|
||||||
|
|
@ -6549,12 +6558,12 @@ in
|
||||||
id = "default";
|
id = "default";
|
||||||
};
|
};
|
||||||
"Obsidian" = {
|
"Obsidian" = {
|
||||||
path = "${homeDir}/Nextcloud/Obsidian";
|
path = "${homeDir}/Obsidian";
|
||||||
inherit devices;
|
inherit devices;
|
||||||
id = "yjvni-9eaa7";
|
id = "yjvni-9eaa7";
|
||||||
};
|
};
|
||||||
"Org" = {
|
"Org" = {
|
||||||
path = "${homeDir}/Nextcloud/Org";
|
path = "${homeDir}/Org";
|
||||||
inherit devices;
|
inherit devices;
|
||||||
id = "a7xnl-zjj3d";
|
id = "a7xnl-zjj3d";
|
||||||
};
|
};
|
||||||
|
|
@ -12090,8 +12099,8 @@ in
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgeec7429" class="outline-5">
|
<div id="outline-container-org5ceed86" class="outline-5">
|
||||||
<h5 id="orgeec7429"><span class="section-number-5">3.2.5.11.</span> microvm-host</h5>
|
<h5 id="org5ceed86"><span class="section-number-5">3.2.5.11.</span> microvm-host</h5>
|
||||||
<div class="outline-text-5" id="text-3-2-5-11">
|
<div class="outline-text-5" id="text-3-2-5-11">
|
||||||
<p>
|
<p>
|
||||||
Some standard options that should be set for every microvm host.
|
Some standard options that should be set for every microvm host.
|
||||||
|
|
@ -12117,8 +12126,8 @@ Some standard options that should be set for every microvm host.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org6d940c0" class="outline-5">
|
<div id="outline-container-orgfc70047" class="outline-5">
|
||||||
<h5 id="org6d940c0"><span class="section-number-5">3.2.5.12.</span> microvm-guest</h5>
|
<h5 id="orgfc70047"><span class="section-number-5">3.2.5.12.</span> microvm-guest</h5>
|
||||||
<div class="outline-text-5" id="text-3-2-5-12">
|
<div class="outline-text-5" id="text-3-2-5-12">
|
||||||
<p>
|
<p>
|
||||||
Some standard options that should be set vor every microvm guest. We set the default
|
Some standard options that should be set vor every microvm guest. We set the default
|
||||||
|
|
@ -12484,7 +12493,7 @@ This holds packages that I can use as provided, or with small modifications (as
|
||||||
# nomacs
|
# nomacs
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
xournalpp
|
xournalpp
|
||||||
obsidian
|
# obsidian
|
||||||
# spotify
|
# spotify
|
||||||
vesktop # discord client
|
vesktop # discord client
|
||||||
# nextcloud-client # enables a systemd service that I do not want
|
# nextcloud-client # enables a systemd service that I do not want
|
||||||
|
|
@ -14815,8 +14824,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7be9024" class="outline-6">
|
<div id="outline-container-org511d2cd" class="outline-6">
|
||||||
<h6 id="org7be9024"><span class="section-number-6">3.3.1.30.6.</span> blueman-applet</h6>
|
<h6 id="org511d2cd"><span class="section-number-6">3.3.1.30.6.</span> blueman-applet</h6>
|
||||||
<div class="outline-text-6" id="text-3-3-1-30-6">
|
<div class="outline-text-6" id="text-3-3-1-30-6">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-nix-ts">{ lib, config, ... }:
|
<pre class="src src-nix-ts">{ lib, config, ... }:
|
||||||
|
|
@ -14830,8 +14839,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgaf613e6" class="outline-6">
|
<div id="outline-container-org539ee89" class="outline-6">
|
||||||
<h6 id="orgaf613e6"><span class="section-number-6">3.3.1.30.7.</span> network-manager-applet</h6>
|
<h6 id="org539ee89"><span class="section-number-6">3.3.1.30.7.</span> network-manager-applet</h6>
|
||||||
<div class="outline-text-6" id="text-3-3-1-30-7">
|
<div class="outline-text-6" id="text-3-3-1-30-7">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-nix-ts">{ lib, config, ... }:
|
<pre class="src src-nix-ts">{ lib, config, ... }:
|
||||||
|
|
@ -14846,8 +14855,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgcdbb2b4" class="outline-6">
|
<div id="outline-container-orge9824cd" class="outline-6">
|
||||||
<h6 id="orgcdbb2b4"><span class="section-number-6">3.3.1.30.8.</span> obsidian service for tray</h6>
|
<h6 id="orge9824cd"><span class="section-number-6">3.3.1.30.8.</span> obsidian service for tray</h6>
|
||||||
<div class="outline-text-6" id="text-3-3-1-30-8">
|
<div class="outline-text-6" id="text-3-3-1-30-8">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-nix-ts">{ lib, config, pkgs, ... }:
|
<pre class="src src-nix-ts">{ lib, config, pkgs, ... }:
|
||||||
|
|
@ -14881,8 +14890,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org43bece4" class="outline-6">
|
<div id="outline-container-orgd30eeb2" class="outline-6">
|
||||||
<h6 id="org43bece4"><span class="section-number-6">3.3.1.30.9.</span> anki service for tray</h6>
|
<h6 id="orgd30eeb2"><span class="section-number-6">3.3.1.30.9.</span> anki service for tray</h6>
|
||||||
<div class="outline-text-6" id="text-3-3-1-30-9">
|
<div class="outline-text-6" id="text-3-3-1-30-9">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-nix-ts">{ lib, config, pkgs, ... }:
|
<pre class="src src-nix-ts">{ lib, config, pkgs, ... }:
|
||||||
|
|
@ -14916,8 +14925,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org6a2c6a6" class="outline-6">
|
<div id="outline-container-org6611018" class="outline-6">
|
||||||
<h6 id="org6a2c6a6"><span class="section-number-6">3.3.1.30.10.</span> element service for tray</h6>
|
<h6 id="org6611018"><span class="section-number-6">3.3.1.30.10.</span> element service for tr</h6>
|
||||||
<div class="outline-text-6" id="text-3-3-1-30-10">
|
<div class="outline-text-6" id="text-3-3-1-30-10">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-nix-ts">{ lib, config, pkgs, ... }:
|
<pre class="src src-nix-ts">{ lib, config, pkgs, ... }:
|
||||||
|
|
@ -14951,8 +14960,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org7f443cf" class="outline-6">
|
<div id="outline-container-org7e5177f" class="outline-6">
|
||||||
<h6 id="org7f443cf"><span class="section-number-6">3.3.1.30.11.</span> vesktop service for tray</h6>
|
<h6 id="org7e5177f"><span class="section-number-6">3.3.1.30.11.</span> vesktop service for tray</h6>
|
||||||
<div class="outline-text-6" id="text-3-3-1-30-11">
|
<div class="outline-text-6" id="text-3-3-1-30-11">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-nix-ts">{ lib, config, pkgs, ... }:
|
<pre class="src src-nix-ts">{ lib, config, pkgs, ... }:
|
||||||
|
|
@ -15862,6 +15871,145 @@ in
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="outline-container-orgfe3cf96" class="outline-5">
|
||||||
|
<h5 id="orgfe3cf96"><span class="section-number-5">3.3.1.37.</span> Obsidian</h5>
|
||||||
|
<div class="outline-text-5" id="text-3-3-1-37">
|
||||||
|
<div class="org-src-container">
|
||||||
|
<pre class="src src-nix-ts">{ inputs, lib, config, pkgs, nixosConfig ? config, ... }:
|
||||||
|
let
|
||||||
|
moduleName = "obsidian";
|
||||||
|
inherit (nixosConfig.repo.secrets.common.obsidian) userIgnoreFilters;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} with settings";
|
||||||
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
||||||
|
programs.obsidian =
|
||||||
|
let
|
||||||
|
name = "Main";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
defaultSettings = {
|
||||||
|
app = {
|
||||||
|
attachmentFolderPath = "attachments";
|
||||||
|
alwaysUpdateLinks = true;
|
||||||
|
spellcheck = false;
|
||||||
|
inherit userIgnoreFilters;
|
||||||
|
vimMode = false;
|
||||||
|
newFileLocation = "current";
|
||||||
|
};
|
||||||
|
corePlugins = [
|
||||||
|
"backlink"
|
||||||
|
"bookmarks"
|
||||||
|
"canvas"
|
||||||
|
"command-palette"
|
||||||
|
"daily-notes"
|
||||||
|
"editor-status"
|
||||||
|
"file-explorer"
|
||||||
|
"file-recovery"
|
||||||
|
"global-search"
|
||||||
|
"graph"
|
||||||
|
"note-composer"
|
||||||
|
"outgoing-link"
|
||||||
|
"outline"
|
||||||
|
"page-preview"
|
||||||
|
"properties"
|
||||||
|
"slides"
|
||||||
|
"switcher"
|
||||||
|
"tag-pane"
|
||||||
|
"templates"
|
||||||
|
"word-count"
|
||||||
|
];
|
||||||
|
communityPlugins = with pkgs.swarsel-nix; [
|
||||||
|
advanced-tables
|
||||||
|
calendar
|
||||||
|
file-hider
|
||||||
|
linter
|
||||||
|
omnisearch
|
||||||
|
sort-and-permute-lines
|
||||||
|
tag-wrangler
|
||||||
|
tray
|
||||||
|
];
|
||||||
|
};
|
||||||
|
vaults = {
|
||||||
|
${name} = {
|
||||||
|
target = "./Obsidian/${name}";
|
||||||
|
settings = {
|
||||||
|
appearance = {
|
||||||
|
baseFontSize = lib.mkForce 19;
|
||||||
|
};
|
||||||
|
communityPlugins = with pkgs.swarsel-nix; [
|
||||||
|
{
|
||||||
|
pkg = advanced-tables;
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
pkg = calendar;
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
pkg = sort-and-permute-lines;
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
pkg = tag-wrangler;
|
||||||
|
enable = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
pkg = tray;
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
launchOnStartup = false;
|
||||||
|
hideOnLaunch = true;
|
||||||
|
runInBackground = true;
|
||||||
|
hideTaskbarIcon = false;
|
||||||
|
createTrayIcon = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
pkg = file-hider;
|
||||||
|
enable = true;
|
||||||
|
settings =
|
||||||
|
{
|
||||||
|
hidden = true;
|
||||||
|
hiddenList = [
|
||||||
|
"attachments"
|
||||||
|
"images"
|
||||||
|
"ltximg"
|
||||||
|
"logseq"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
pkg = linter;
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
auto-correct-common-misspellings = {
|
||||||
|
skip-words-with-multiple-capitals = true;
|
||||||
|
};
|
||||||
|
convert-bullet-list-markers = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
pkg = omnisearch;
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
hideExcluded = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb" class="outline-4">
|
<div id="outline-container-h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb" class="outline-4">
|
||||||
<h4 id="h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb"><span class="section-number-4">3.3.2.</span> Server</h4>
|
<h4 id="h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb"><span class="section-number-4">3.3.2.</span> Server</h4>
|
||||||
|
|
@ -18999,8 +19147,8 @@ writeShellApplication {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-org3fec506" class="outline-4">
|
<div id="outline-container-orgcf33c04" class="outline-4">
|
||||||
<h4 id="org3fec506"><span class="section-number-4">3.5.34.</span> endme</h4>
|
<h4 id="orgcf33c04"><span class="section-number-4">3.5.34.</span> endme</h4>
|
||||||
<div class="outline-text-4" id="text-3-5-34">
|
<div class="outline-text-4" id="text-3-5-34">
|
||||||
<p>
|
<p>
|
||||||
Sometimes my DE crashes after putting it to suspend - to be precise, it happens when I put it into suspend when I have multiple screens plugged in. I have never taken the time to debug the issue, but instead just switch to a different TTY and then use this script to kill the hanging session.
|
Sometimes my DE crashes after putting it to suspend - to be precise, it happens when I put it into suspend when I have multiple screens plugged in. I have never taken the time to debug the issue, but instead just switch to a different TTY and then use this script to kill the hanging session.
|
||||||
|
|
@ -19160,8 +19308,8 @@ in
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orge31a252" class="outline-5">
|
<div id="outline-container-org16ac549" class="outline-5">
|
||||||
<h5 id="orge31a252"><span class="section-number-5">3.6.1.3.</span> Optionals</h5>
|
<h5 id="org16ac549"><span class="section-number-5">3.6.1.3.</span> Optionals</h5>
|
||||||
<div class="outline-text-5" id="text-3-6-1-3">
|
<div class="outline-text-5" id="text-3-6-1-3">
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-nix-ts">{ lib, config, ... }:
|
<pre class="src src-nix-ts">{ lib, config, ... }:
|
||||||
|
|
@ -19433,6 +19581,7 @@ in
|
||||||
blueman-applet = lib.mkDefault true;
|
blueman-applet = lib.mkDefault true;
|
||||||
nm-applet = lib.mkDefault true;
|
nm-applet = lib.mkDefault true;
|
||||||
obsidian-tray = lib.mkDefault true;
|
obsidian-tray = lib.mkDefault true;
|
||||||
|
obsidian = lib.mkDefault true;
|
||||||
anki-tray = lib.mkDefault true;
|
anki-tray = lib.mkDefault true;
|
||||||
element-tray = lib.mkDefault true;
|
element-tray = lib.mkDefault true;
|
||||||
vesktop-tray = lib.mkDefault true;
|
vesktop-tray = lib.mkDefault true;
|
||||||
|
|
@ -21487,13 +21636,13 @@ This part of the configuration mostly makes some aesthetic changes, enables neat
|
||||||
(defun swarsel/org-agenda-done-and-archive ()
|
(defun swarsel/org-agenda-done-and-archive ()
|
||||||
"Mark TODO at point as DONE, archive it, and save all agenda files."
|
"Mark TODO at point as DONE, archive it, and save all agenda files."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((org-archive-location "~/Nextcloud/Org/Archive.org::Archive"))
|
(let ((org-archive-location "~/Org/Archive.org::Archive"))
|
||||||
(org-agenda-todo "DONE")
|
(org-agenda-todo "DONE")
|
||||||
(org-agenda-archive)
|
(org-agenda-archive)
|
||||||
(dolist (buf (buffer-list))
|
(dolist (buf (buffer-list))
|
||||||
(with-current-buffer buf
|
(with-current-buffer buf
|
||||||
(when (and buffer-file-name
|
(when (and buffer-file-name
|
||||||
(string-prefix-p (expand-file-name "~/Nextcloud/Org/") (file-truename buffer-file-name))
|
(string-prefix-p (expand-file-name "~/Org/") (file-truename buffer-file-name))
|
||||||
(derived-mode-p 'org-mode))
|
(derived-mode-p 'org-mode))
|
||||||
(save-buffer))))))
|
(save-buffer))))))
|
||||||
|
|
||||||
|
|
@ -21522,14 +21671,14 @@ This part of the configuration mostly makes some aesthetic changes, enables neat
|
||||||
(setq org-image-actual-width nil)
|
(setq org-image-actual-width nil)
|
||||||
(setq org-format-latex-options '(:foreground "White" :background default :scale 2.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")))
|
(setq org-format-latex-options '(:foreground "White" :background default :scale 2.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")))
|
||||||
|
|
||||||
(setq org-agenda-files '("/home/swarsel/Nextcloud/Org/Tasks.org"
|
(setq org-agenda-files '("/home/swarsel/Org/Tasks.org"
|
||||||
"/home/swarsel/Nextcloud/Org/Archive.org"
|
"/home/swarsel/Org/Archive.org"
|
||||||
))
|
))
|
||||||
|
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "Todo" entry (file+headline "~/Nextcloud/Org/Tasks.org" "Inbox")
|
'(("t" "Todo" entry (file+headline "~/Org/Tasks.org" "Inbox")
|
||||||
"* TODO %?\n %i\n %a")
|
"* TODO %?\n %i\n %a")
|
||||||
("j" "Journal" entry (file+datetree "~/Nextcloud/Org/Journal.org")
|
("j" "Journal" entry (file+datetree "~/Org/Journal.org")
|
||||||
"* %?\nEntered on %U\n %i\n %a")))
|
"* %?\nEntered on %U\n %i\n %a")))
|
||||||
|
|
||||||
(setq org-refile-targets
|
(setq org-refile-targets
|
||||||
|
|
@ -26218,7 +26367,7 @@ similarly, there exists an version that starts from the right.
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
<p class="author">Author: Leon Schwarzäugl</p>
|
<p class="author">Author: Leon Schwarzäugl</p>
|
||||||
<p class="date">Created: 2025-10-07 Di 21:23</p>
|
<p class="date">Created: 2025-10-09 Do 00:17</p>
|
||||||
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
|
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -27,12 +27,12 @@ in
|
||||||
id = "default";
|
id = "default";
|
||||||
};
|
};
|
||||||
"Obsidian" = {
|
"Obsidian" = {
|
||||||
path = "${homeDir}/Nextcloud/Obsidian";
|
path = "${homeDir}/Obsidian";
|
||||||
inherit devices;
|
inherit devices;
|
||||||
id = "yjvni-9eaa7";
|
id = "yjvni-9eaa7";
|
||||||
};
|
};
|
||||||
"Org" = {
|
"Org" = {
|
||||||
path = "${homeDir}/Nextcloud/Org";
|
path = "${homeDir}/Org";
|
||||||
inherit devices;
|
inherit devices;
|
||||||
id = "a7xnl-zjj3d";
|
id = "a7xnl-zjj3d";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue