mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
feat: update nixpkgs
This commit is contained in:
parent
cc1ffd103b
commit
36899e6f9e
4 changed files with 392 additions and 342 deletions
|
|
@ -8571,15 +8571,15 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
|
||||||
profiles = {
|
profiles = {
|
||||||
dc_adm = {
|
dc_adm = {
|
||||||
id = 1;
|
id = 1;
|
||||||
# <<firefoxprofile>>
|
<<firefoxprofile>>
|
||||||
};
|
};
|
||||||
cl_adm = {
|
cl_adm = {
|
||||||
id = 2;
|
id = 2;
|
||||||
# <<firefoxprofile>>
|
<<firefoxprofile>>
|
||||||
};
|
};
|
||||||
ws_adm = {
|
ws_adm = {
|
||||||
id = 3;
|
id = 3;
|
||||||
# <<firefoxprofile>>
|
<<firefoxprofile>>
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -807,11 +807,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1723637854,
|
"lastModified": 1724479785,
|
||||||
"narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=",
|
"narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9",
|
"rev": "d0e1602ddde669d5beb01aec49d71a51937ed7be",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
278
index.html
278
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>
|
||||||
<!-- 2024-08-13 Di 23:29 -->
|
<!-- 2024-08-27 Di 23:42 -->
|
||||||
<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 Configuration</title>
|
<title>SwarselSystems: NixOS + Emacs Configuration</title>
|
||||||
|
|
@ -350,7 +350,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<b>This file has 45330 words spanning 11987 lines and was last revised on 2024-08-13 23:29:28 +0200.</b>
|
<b>This file has 45507 words spanning 12037 lines and was last revised on 2024-08-27 23:41:55 +0200.</b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
@ -400,7 +400,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: 2024-08-13 23:29:28 +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: 2024-08-27 23:41:55 +0200)
|
||||||
</p></li>
|
</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
@ -412,7 +412,7 @@ system-configuration-options
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<pre class="example">
|
<pre class="example">
|
||||||
--prefix=/nix/store/jh4xny0q3is65dfk9nfmiiipxfvqzl8p-emacs-pgtk-20240810.0 --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --with-xwidgets --with-dbus --with-selinux
|
--prefix=/nix/store/frxxsgm1rw0drr8la1cxm6cmq5iw89r0-emacs-pgtk-20240816.0 --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --with-xwidgets --with-dbus --with-selinux
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2313,11 +2313,6 @@ My work machine. Built for more security, this is the gold standard of my config
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.graphics.extraPackages = with pkgs; [
|
|
||||||
vulkan-loader
|
|
||||||
vulkan-validation-layers
|
|
||||||
vulkan-extension-layer
|
|
||||||
];
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
|
|
@ -2346,13 +2341,23 @@ My work machine. Built for more security, this is the gold standard of my config
|
||||||
# ------ -----
|
# ------ -----
|
||||||
# | DP-4 | |eDP-1|
|
# | DP-4 | |eDP-1|
|
||||||
# ------ -----
|
# ------ -----
|
||||||
|
startup = [
|
||||||
|
{ command = "nextcloud --background"; }
|
||||||
|
{ command = "vesktop --start-minimized --enable-speech-dispatcher --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime"; }
|
||||||
|
{ command = "element-desktop --hidden --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu-driver-bug-workarounds"; }
|
||||||
|
{ command = "ANKI_WAYLAND=1 anki"; }
|
||||||
|
{ command = "OBSIDIAN_USE_WAYLAND=1 obsidian"; }
|
||||||
|
{ command = "nm-applet"; }
|
||||||
|
{ command = "teams-for-linux"; }
|
||||||
|
{ command = "1password"; }
|
||||||
|
];
|
||||||
monitors = {
|
monitors = {
|
||||||
main = {
|
main = {
|
||||||
name = "BOE 0x0BC9 Unknown";
|
name = "BOE 0x0BC9 Unknown";
|
||||||
mode = "2560x1600"; # TEMPLATE
|
mode = "2560x1600"; # TEMPLATE
|
||||||
scale = "1";
|
scale = "1";
|
||||||
position = "2560,0";
|
position = "2560,0";
|
||||||
workspace = "2:二";
|
workspace = "10:十";
|
||||||
output = "eDP-2";
|
output = "eDP-2";
|
||||||
};
|
};
|
||||||
homedesktop = {
|
homedesktop = {
|
||||||
|
|
@ -2387,6 +2392,14 @@ My work machine. Built for more security, this is the gold standard of my config
|
||||||
workspace = "1:一";
|
workspace = "1:一";
|
||||||
output = "DP-3";
|
output = "DP-3";
|
||||||
};
|
};
|
||||||
|
work_middle_middle = {
|
||||||
|
name = "HP Inc. HP 732pk CNC4080YL5";
|
||||||
|
mode = "3840x2160";
|
||||||
|
scale = "1";
|
||||||
|
position = "5120,0";
|
||||||
|
workspace = "1:一";
|
||||||
|
output = "DP-9";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
inputs = {
|
inputs = {
|
||||||
"12972:18:Framework_Laptop_16_Keyboard_Module_-_ANSI_Keyboard" = {
|
"12972:18:Framework_Laptop_16_Keyboard_Module_-_ANSI_Keyboard" = {
|
||||||
|
|
@ -2407,6 +2420,10 @@ My work machine. Built for more security, this is the gold standard of my config
|
||||||
xkb_layout = "us";
|
xkb_layout = "us";
|
||||||
xkb_variant = "altgr-intl";
|
xkb_variant = "altgr-intl";
|
||||||
};
|
};
|
||||||
|
"1133:45944:MX_KEYS_S" = {
|
||||||
|
xkb_layout = "us";
|
||||||
|
xkb_variant = "altgr-intl";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"Mod4+Ctrl+p" = "exec wl-mirror eDP-2";
|
"Mod4+Ctrl+p" = "exec wl-mirror eDP-2";
|
||||||
|
|
@ -5704,6 +5721,10 @@ Also, the system state version is set here. No need to touch it.
|
||||||
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"jitsi-meet-1.0.8043"
|
||||||
|
];
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
@ -7181,6 +7202,13 @@ This opens a few gaming ports and installs the steam configuration suite for gam
|
||||||
pkgs.proton-ge-bin
|
pkgs.proton-ge-bin
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.xone.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = [
|
||||||
|
linuxKernel.packages.linux_6_10.xone
|
||||||
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -8648,7 +8676,7 @@ The rest of the related configuration is found here:
|
||||||
"custom/nix-updates" = {
|
"custom/nix-updates" = {
|
||||||
exec = "update-checker";
|
exec = "update-checker";
|
||||||
on-click = "update-checker && notify-send 'The system has been updated'";
|
on-click = "update-checker && notify-send 'The system has been updated'";
|
||||||
interval = 3600;
|
interval = "once";
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
format = "{} {icon}";
|
format = "{} {icon}";
|
||||||
|
|
@ -9252,6 +9280,7 @@ in
|
||||||
};
|
};
|
||||||
assigns = {
|
assigns = {
|
||||||
"1:一" = [{ app_id = "firefox"; }];
|
"1:一" = [{ app_id = "firefox"; }];
|
||||||
|
"10:十" = [{ app_id = "teams-for-linux"; }];
|
||||||
};
|
};
|
||||||
floating = {
|
floating = {
|
||||||
border = 1;
|
border = 1;
|
||||||
|
|
@ -9514,13 +9543,28 @@ The rest of the settings is at <a href="#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf"
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
teams-for-linux
|
teams-for-linux
|
||||||
google-chrome
|
google-chrome
|
||||||
thunderbird
|
shellcheck
|
||||||
ansible
|
|
||||||
dig
|
dig
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
|
"uc" = {
|
||||||
|
hostname = "uc.clip.vbc.ac.at";
|
||||||
|
user = "stack";
|
||||||
|
};
|
||||||
|
"uc-stg" = {
|
||||||
|
hostname = "uc.staging.clip.vbc.ac.at";
|
||||||
|
user = "stack";
|
||||||
|
};
|
||||||
|
"cbe" = {
|
||||||
|
hostname = "cbe.vbc.ac.at";
|
||||||
|
user = "dc_adm_schwarzaeugl";
|
||||||
|
};
|
||||||
|
"cbe-stg" = {
|
||||||
|
hostname = "cbe.staging.vbc.ac.at";
|
||||||
|
user = "dc_adm_schwarzaeugl";
|
||||||
|
};
|
||||||
"*.vbc.ac.at" = {
|
"*.vbc.ac.at" = {
|
||||||
user = "dc_adm_schwarzaeugl";
|
user = "dc_adm_schwarzaeugl";
|
||||||
};
|
};
|
||||||
|
|
@ -10893,104 +10937,110 @@ I also define some keybinds to some combinations directly. Those are used mostly
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-emacs-lisp">
|
<pre class="src src-emacs-lisp">
|
||||||
;; Make ESC quit prompts
|
;; Make ESC quit prompts
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
|
|
||||||
;; Set up general keybindings
|
;; Set up general keybindings
|
||||||
(use-package general
|
(use-package general
|
||||||
:config
|
:config
|
||||||
(general-create-definer swarsel/leader-keys
|
(general-create-definer swarsel/leader-keys
|
||||||
:keymaps '(normal insert visual emacs)
|
:keymaps '(normal insert visual emacs)
|
||||||
:prefix "SPC"
|
:prefix "SPC"
|
||||||
:global-prefix "C-SPC")
|
:global-prefix "C-SPC")
|
||||||
|
|
||||||
(swarsel/leader-keys
|
(swarsel/leader-keys
|
||||||
"e" '(:ignore e :which-key "evil")
|
"e" '(:ignore e :which-key "evil")
|
||||||
"eo" '(evil-jump-backward :which-key "cursor jump backwards")
|
"eo" '(evil-jump-backward :which-key "cursor jump backwards")
|
||||||
"eO" '(evil-jump-forward :which-key "cursor jump forwards")
|
"eO" '(evil-jump-forward :which-key "cursor jump forwards")
|
||||||
"t" '(:ignore t :which-key "toggles")
|
"t" '(:ignore t :which-key "toggles")
|
||||||
"ts" '(hydra-text-scale/body :which-key "scale text")
|
"ts" '(hydra-text-scale/body :which-key "scale text")
|
||||||
"te" '(swarsel/toggle-evil-state :which-key "emacs/evil")
|
"te" '(swarsel/toggle-evil-state :which-key "emacs/evil")
|
||||||
"tl" '(display-line-numbers-mode :which-key "line numbers")
|
"tl" '(display-line-numbers-mode :which-key "line numbers")
|
||||||
"tp" '(evil-cleverparens-mode :wk "cleverparens")
|
"tp" '(evil-cleverparens-mode :wk "cleverparens")
|
||||||
"to" '(olivetti-mode :wk "olivetti")
|
"to" '(olivetti-mode :wk "olivetti")
|
||||||
"td" '(darkroom-tentative-mode :wk "darkroom")
|
"td" '(darkroom-tentative-mode :wk "darkroom")
|
||||||
"tw" '((lambda () (interactive) (toggle-truncate-lines)) :which-key "line wrapping")
|
"tw" '((lambda () (interactive) (toggle-truncate-lines)) :which-key "line wrapping")
|
||||||
"m" '(:ignore m :which-key "modes/programs")
|
"m" '(:ignore m :which-key "modes/programs")
|
||||||
"mm" '((lambda () (interactive) (mu4e)) :which-key "mu4e")
|
"mm" '((lambda () (interactive) (mu4e)) :which-key "mu4e")
|
||||||
"mg" '((lambda () (interactive) (magit-list-repositories)) :which-key "magit-list-repos")
|
"mg" '((lambda () (interactive) (magit-list-repositories)) :which-key "magit-list-repos")
|
||||||
"mc" '((lambda () (interactive) (swarsel/open-calendar)) :which-key "calendar")
|
"mc" '((lambda () (interactive) (swarsel/open-calendar)) :which-key "calendar")
|
||||||
"mp" '(popper-toggle :which-key "popper")
|
"mp" '(popper-toggle :which-key "popper")
|
||||||
"md" '(dirvish :which-key "dirvish")
|
"md" '(dirvish :which-key "dirvish")
|
||||||
"o" '(:ignore o :which-key "org")
|
"o" '(:ignore o :which-key "org")
|
||||||
"op" '((lambda () (interactive) (org-present)) :which-key "org-present")
|
"op" '((lambda () (interactive) (org-present)) :which-key "org-present")
|
||||||
"ob" '((lambda () (interactive) (org-babel-mark-block)) :which-key "Mark whole src-block")
|
"ob" '((lambda () (interactive) (org-babel-mark-block)) :which-key "Mark whole src-block")
|
||||||
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
"ol" '((lambda () (interactive) (org-insert-link)) :which-key "insert link")
|
||||||
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
"os" '((lambda () (interactive) (org-store-link)) :which-key "store link")
|
||||||
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
"od" '((lambda () (interactive) (org-babel-demarcate-block)) :which-key "demarcate (split) src-block")
|
||||||
;; "c" '(:ignore c :which-key "capture")
|
"on" '((lambda () (interactive) (nixpkgs-fmt-region)) :which-key "format nix-block")
|
||||||
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
;; "c" '(:ignore c :which-key "capture")
|
||||||
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
;; "cj" '((lambda () (interactive) (org-capture nil "jj")) :which-key "journal")
|
||||||
"l" '(:ignore l :which-key "links")
|
;; "cs" '(markdown-download-screenshot :which-key "screenshot")
|
||||||
"lc" '((lambda () (interactive) (progn (find-file swarsel-swarsel-org-filepath) (org-overview) )) :which-key "SwarselSystems.org")
|
"l" '(:ignore l :which-key "links")
|
||||||
"le" '((lambda () (interactive) (progn (find-file swarsel-swarsel-org-filepath) (goto-char (org-find-exact-headline-in-buffer "Emacs") ) (org-overview) (org-cycle) )) :which-key "Emacs.org")
|
"lc" '((lambda () (interactive) (progn (find-file swarsel-swarsel-org-filepath) (org-overview) )) :which-key "SwarselSystems.org")
|
||||||
"ln" '((lambda () (interactive) (progn (find-file swarsel-swarsel-org-filepath) (goto-char (org-find-exact-headline-in-buffer "System") ) (org-overview) (org-cycle))) :which-key "Nixos.org")
|
"le" '((lambda () (interactive) (progn (find-file swarsel-swarsel-org-filepath) (goto-char (org-find-exact-headline-in-buffer "Emacs") ) (org-overview) (org-cycle) )) :which-key "Emacs.org")
|
||||||
"ls" '((lambda () (interactive) (find-file "/smb:Swarsel@192.168.1.3:")) :which-key "Server")
|
"ln" '((lambda () (interactive) (progn (find-file swarsel-swarsel-org-filepath) (goto-char (org-find-exact-headline-in-buffer "System") ) (org-overview) (org-cycle))) :which-key "Nixos.org")
|
||||||
"lo" '(dired swarsel-obsidian-vault-directory :which-key "obsidian")
|
"ls" '((lambda () (interactive) (find-file "/smb:Swarsel@192.168.1.3:")) :which-key "Server")
|
||||||
;; "la" '((lambda () (interactive) (find-file swarsel-org-anki-filepath)) :which-key "anki")
|
"lo" '(dired swarsel-obsidian-vault-directory :which-key "obsidian")
|
||||||
;; "ln" '((lambda () (interactive) (find-file swarsel-nix-org-filepath)) :which-key "Nix.org")
|
;; "la" '((lambda () (interactive) (find-file swarsel-org-anki-filepath)) :which-key "anki")
|
||||||
"lp" '((lambda () (interactive) (projectile-switch-project)) :which-key "switch project")
|
;; "ln" '((lambda () (interactive) (find-file swarsel-nix-org-filepath)) :which-key "Nix.org")
|
||||||
"lg" '((lambda () (interactive) (magit-list-repositories)) :which-key "list git repos")
|
"lp" '((lambda () (interactive) (projectile-switch-project)) :which-key "switch project")
|
||||||
;; "a" '(:ignore a :which-key "anki")
|
"lg" '((lambda () (interactive) (magit-list-repositories)) :which-key "list git repos")
|
||||||
;; "ap" '(anki-editor-push-tree :which-key "push new cards")
|
;; "a" '(:ignore a :which-key "anki")
|
||||||
;; "an" '((lambda () (interactive) (org-capture nil "a")) :which-key "new card")
|
;; "ap" '(anki-editor-push-tree :which-key "push new cards")
|
||||||
;; "as" '(swarsel-anki-set-deck-and-notetype :which-key "change deck and notetype")
|
;; "an" '((lambda () (interactive) (org-capture nil "a")) :which-key "new card")
|
||||||
"h" '(:ignore h :which-key "help")
|
;; "as" '(swarsel-anki-set-deck-and-notetype :which-key "change deck and notetype")
|
||||||
"hy" '(yas-describe-tables :which-key "yas tables")
|
"h" '(:ignore h :which-key "help")
|
||||||
"hb" '(embark-bindings :which-key "current key bindings")
|
"hy" '(yas-describe-tables :which-key "yas tables")
|
||||||
"h" '(:ignore t :which-key "describe")
|
"hb" '(embark-bindings :which-key "current key bindings")
|
||||||
"he" 'view-echo-area-messages
|
"h" '(:ignore t :which-key "describe")
|
||||||
"hf" 'describe-function
|
"he" 'view-echo-area-messages
|
||||||
"hF" 'describe-face
|
"hf" 'describe-function
|
||||||
"hl" '(view-lossage :which-key "show command keypresses")
|
"hF" 'describe-face
|
||||||
"hL" 'find-library
|
"hl" '(view-lossage :which-key "show command keypresses")
|
||||||
"hm" 'describe-mode
|
"hL" 'find-library
|
||||||
"ho" 'describe-symbol
|
"hm" 'describe-mode
|
||||||
"hk" 'describe-key
|
"ho" 'describe-symbol
|
||||||
"hK" 'describe-keymap
|
"hk" 'describe-key
|
||||||
"hp" 'describe-package
|
"hK" 'describe-keymap
|
||||||
"hv" 'describe-variable
|
"hp" 'describe-package
|
||||||
"hd" 'devdocs-lookup
|
"hv" 'describe-variable
|
||||||
"w" '(:ignore t :which-key "window")
|
"hd" 'devdocs-lookup
|
||||||
"wl" 'windmove-right
|
"w" '(:ignore t :which-key "window")
|
||||||
"wh" 'windmove-left
|
"wl" 'windmove-right
|
||||||
"wk" 'windmove-up
|
"w <right>" 'windmove-right
|
||||||
"wj" 'windmove-down
|
"wh" 'windmove-left
|
||||||
"wr" 'winner-redo
|
"w <left>" 'windmove-left
|
||||||
"wd" 'delete-window
|
"wk" 'windmove-up
|
||||||
"w=" 'balance-windows-area
|
"w <up>" 'windmove-up
|
||||||
"wD" 'kill-buffer-and-window
|
"wj" 'windmove-down
|
||||||
"wu" 'winner-undo
|
"w <down>" 'windmove-down
|
||||||
"wr" 'winner-redo
|
"wr" 'winner-redo
|
||||||
"w/" 'evil-window-vsplit
|
"wd" 'delete-window
|
||||||
"w-" 'evil-window-split
|
"w=" 'balance-windows-area
|
||||||
"wm" '(delete-other-windows :wk "maximize")
|
"wD" 'kill-buffer-and-window
|
||||||
"<right>" 'up-list
|
"wu" 'winner-undo
|
||||||
"<left>" 'down-list
|
"wr" 'winner-redo
|
||||||
))
|
"w/" 'evil-window-vsplit
|
||||||
|
"w\\" 'evil-window-vsplit
|
||||||
|
"w-" 'evil-window-split
|
||||||
|
"wm" '(delete-other-windows :wk "maximize")
|
||||||
|
"<right>" 'up-list
|
||||||
|
"<left>" 'down-list
|
||||||
|
))
|
||||||
|
|
||||||
;; General often used hotkeys
|
;; General often used hotkeys
|
||||||
(general-define-key
|
(general-define-key
|
||||||
"C-M-a" (lambda () (interactive) (org-capture nil "a")) ; make new anki card
|
"C-M-a" (lambda () (interactive) (org-capture nil "a")) ; make new anki card
|
||||||
;; "C-M-d" 'swarsel-obsidian-daily ; open daily obsidian file and create if not exist
|
;; "C-M-d" 'swarsel-obsidian-daily ; open daily obsidian file and create if not exist
|
||||||
;; "C-M-S" 'swarsel-anki-set-deck-and-notetype ; switch deck and notetype for new anki cards
|
;; "C-M-S" 'swarsel-anki-set-deck-and-notetype ; switch deck and notetype for new anki cards
|
||||||
;; "C-M-s" 'markdown-download-screenshot ; wrapper for org-download-screenshot
|
;; "C-M-s" 'markdown-download-screenshot ; wrapper for org-download-screenshot
|
||||||
"C-c d" 'crux-duplicate-current-line-or-region
|
"C-c d" 'crux-duplicate-current-line-or-region
|
||||||
"C-c D" 'crux-duplicate-and-comment-current-line-or-region
|
"C-c D" 'crux-duplicate-and-comment-current-line-or-region
|
||||||
"<DUMMY-m>" 'swarsel/last-buffer
|
"<DUMMY-m>" 'swarsel/last-buffer
|
||||||
"M-\\" 'indent-region
|
"M-\\" 'indent-region
|
||||||
"C-<f9>" 'my-python-shell-run
|
"C-<f9>" 'my-python-shell-run
|
||||||
)
|
)
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -13317,11 +13367,11 @@ This enables pdf-previewing in dirvish and gives a much better pdf-viewer than i
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre class="src src-emacs-lisp">
|
<pre class="src src-emacs-lisp">
|
||||||
(use-package pdf-tools
|
;; (use-package pdf-tools
|
||||||
:init
|
;; :init
|
||||||
(if (not (boundp 'pdf-tools-directory))
|
;; (if (not (boundp 'pdf-tools-directory))
|
||||||
(pdf-tools-install))
|
;; (pdf-tools-install))
|
||||||
:mode ("\\.pdf" . pdf-view-mode))
|
;; :mode ("\\.pdf" . pdf-view-mode))
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -13838,7 +13888,7 @@ This sets up the <code>dashboard</code>, which is really quite useless. But, it
|
||||||
</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: 2024-08-13 Di 23:29</p>
|
<p class="date">Created: 2024-08-27 Di 23:42</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>
|
||||||
|
|
|
||||||
|
|
@ -36,234 +36,234 @@
|
||||||
profiles = {
|
profiles = {
|
||||||
dc_adm = {
|
dc_adm = {
|
||||||
id = 1;
|
id = 1;
|
||||||
#
|
|
||||||
# isDefault = false;
|
isDefault = false;
|
||||||
# userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
||||||
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
# tridactyl
|
tridactyl
|
||||||
# browserpass
|
browserpass
|
||||||
# clearurls
|
clearurls
|
||||||
# darkreader
|
darkreader
|
||||||
# enhancer-for-youtube
|
enhancer-for-youtube
|
||||||
# istilldontcareaboutcookies
|
istilldontcareaboutcookies
|
||||||
# translate-web-pages
|
translate-web-pages
|
||||||
# ublock-origin
|
ublock-origin
|
||||||
# reddit-enhancement-suite
|
reddit-enhancement-suite
|
||||||
# sponsorblock
|
sponsorblock
|
||||||
# web-archives
|
web-archives
|
||||||
# onepassword-password-manager
|
onepassword-password-manager
|
||||||
# single-file
|
single-file
|
||||||
# widegithub
|
widegithub
|
||||||
# enhanced-github
|
enhanced-github
|
||||||
# unpaywall
|
unpaywall
|
||||||
# don-t-fuck-with-paste
|
don-t-fuck-with-paste
|
||||||
# plasma-integration
|
plasma-integration
|
||||||
# ];
|
];
|
||||||
#
|
|
||||||
# search.engines = {
|
search.engines = {
|
||||||
# "Nix Packages" = {
|
"Nix Packages" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://search.nixos.org/packages";
|
template = "https://search.nixos.org/packages";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "type"; value = "packages"; }
|
{ name = "type"; value = "packages"; }
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@np" ];
|
definedAliases = [ "@np" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "NixOS Wiki" = {
|
"NixOS Wiki" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://nixos.wiki/index.php?search={searchTerms}";
|
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
||||||
# }];
|
}];
|
||||||
# iconUpdateURL = "https://nixos.wiki/favicon.png";
|
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||||
# updateInterval = 24 * 60 * 60 * 1000; # every day
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
# definedAliases = [ "@nw" ];
|
definedAliases = [ "@nw" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "NixOS Options" = {
|
"NixOS Options" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://search.nixos.org/options";
|
template = "https://search.nixos.org/options";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
#
|
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@no" ];
|
definedAliases = [ "@no" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "Home Manager Options" = {
|
"Home Manager Options" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://home-manager-options.extranix.com/";
|
template = "https://home-manager-options.extranix.com/";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
#
|
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@hm" "@ho" "@hmo" ];
|
definedAliases = [ "@hm" "@ho" "@hmo" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "Google".metaData.alias = "@g";
|
"Google".metaData.alias = "@g";
|
||||||
# };
|
};
|
||||||
# search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
||||||
#
|
|
||||||
};
|
};
|
||||||
cl_adm = {
|
cl_adm = {
|
||||||
id = 2;
|
id = 2;
|
||||||
#
|
|
||||||
# isDefault = false;
|
isDefault = false;
|
||||||
# userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
||||||
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
# tridactyl
|
tridactyl
|
||||||
# browserpass
|
browserpass
|
||||||
# clearurls
|
clearurls
|
||||||
# darkreader
|
darkreader
|
||||||
# enhancer-for-youtube
|
enhancer-for-youtube
|
||||||
# istilldontcareaboutcookies
|
istilldontcareaboutcookies
|
||||||
# translate-web-pages
|
translate-web-pages
|
||||||
# ublock-origin
|
ublock-origin
|
||||||
# reddit-enhancement-suite
|
reddit-enhancement-suite
|
||||||
# sponsorblock
|
sponsorblock
|
||||||
# web-archives
|
web-archives
|
||||||
# onepassword-password-manager
|
onepassword-password-manager
|
||||||
# single-file
|
single-file
|
||||||
# widegithub
|
widegithub
|
||||||
# enhanced-github
|
enhanced-github
|
||||||
# unpaywall
|
unpaywall
|
||||||
# don-t-fuck-with-paste
|
don-t-fuck-with-paste
|
||||||
# plasma-integration
|
plasma-integration
|
||||||
# ];
|
];
|
||||||
#
|
|
||||||
# search.engines = {
|
search.engines = {
|
||||||
# "Nix Packages" = {
|
"Nix Packages" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://search.nixos.org/packages";
|
template = "https://search.nixos.org/packages";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "type"; value = "packages"; }
|
{ name = "type"; value = "packages"; }
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@np" ];
|
definedAliases = [ "@np" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "NixOS Wiki" = {
|
"NixOS Wiki" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://nixos.wiki/index.php?search={searchTerms}";
|
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
||||||
# }];
|
}];
|
||||||
# iconUpdateURL = "https://nixos.wiki/favicon.png";
|
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||||
# updateInterval = 24 * 60 * 60 * 1000; # every day
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
# definedAliases = [ "@nw" ];
|
definedAliases = [ "@nw" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "NixOS Options" = {
|
"NixOS Options" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://search.nixos.org/options";
|
template = "https://search.nixos.org/options";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
#
|
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@no" ];
|
definedAliases = [ "@no" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "Home Manager Options" = {
|
"Home Manager Options" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://home-manager-options.extranix.com/";
|
template = "https://home-manager-options.extranix.com/";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
#
|
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@hm" "@ho" "@hmo" ];
|
definedAliases = [ "@hm" "@ho" "@hmo" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "Google".metaData.alias = "@g";
|
"Google".metaData.alias = "@g";
|
||||||
# };
|
};
|
||||||
# search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
||||||
#
|
|
||||||
};
|
};
|
||||||
ws_adm = {
|
ws_adm = {
|
||||||
id = 3;
|
id = 3;
|
||||||
#
|
|
||||||
# isDefault = false;
|
isDefault = false;
|
||||||
# userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
||||||
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
# tridactyl
|
tridactyl
|
||||||
# browserpass
|
browserpass
|
||||||
# clearurls
|
clearurls
|
||||||
# darkreader
|
darkreader
|
||||||
# enhancer-for-youtube
|
enhancer-for-youtube
|
||||||
# istilldontcareaboutcookies
|
istilldontcareaboutcookies
|
||||||
# translate-web-pages
|
translate-web-pages
|
||||||
# ublock-origin
|
ublock-origin
|
||||||
# reddit-enhancement-suite
|
reddit-enhancement-suite
|
||||||
# sponsorblock
|
sponsorblock
|
||||||
# web-archives
|
web-archives
|
||||||
# onepassword-password-manager
|
onepassword-password-manager
|
||||||
# single-file
|
single-file
|
||||||
# widegithub
|
widegithub
|
||||||
# enhanced-github
|
enhanced-github
|
||||||
# unpaywall
|
unpaywall
|
||||||
# don-t-fuck-with-paste
|
don-t-fuck-with-paste
|
||||||
# plasma-integration
|
plasma-integration
|
||||||
# ];
|
];
|
||||||
#
|
|
||||||
# search.engines = {
|
search.engines = {
|
||||||
# "Nix Packages" = {
|
"Nix Packages" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://search.nixos.org/packages";
|
template = "https://search.nixos.org/packages";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "type"; value = "packages"; }
|
{ name = "type"; value = "packages"; }
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@np" ];
|
definedAliases = [ "@np" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "NixOS Wiki" = {
|
"NixOS Wiki" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://nixos.wiki/index.php?search={searchTerms}";
|
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
||||||
# }];
|
}];
|
||||||
# iconUpdateURL = "https://nixos.wiki/favicon.png";
|
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
||||||
# updateInterval = 24 * 60 * 60 * 1000; # every day
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
# definedAliases = [ "@nw" ];
|
definedAliases = [ "@nw" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "NixOS Options" = {
|
"NixOS Options" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://search.nixos.org/options";
|
template = "https://search.nixos.org/options";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
#
|
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@no" ];
|
definedAliases = [ "@no" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "Home Manager Options" = {
|
"Home Manager Options" = {
|
||||||
# urls = [{
|
urls = [{
|
||||||
# template = "https://home-manager-options.extranix.com/";
|
template = "https://home-manager-options.extranix.com/";
|
||||||
# params = [
|
params = [
|
||||||
# { name = "query"; value = "{searchTerms}"; }
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
# ];
|
];
|
||||||
# }];
|
}];
|
||||||
#
|
|
||||||
# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
# definedAliases = [ "@hm" "@ho" "@hmo" ];
|
definedAliases = [ "@hm" "@ho" "@hmo" ];
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# "Google".metaData.alias = "@g";
|
"Google".metaData.alias = "@g";
|
||||||
# };
|
};
|
||||||
# search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
||||||
#
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue