Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
167 changed files
with
2,468 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.ace-window = { | ||
enable = false; | ||
demand = true; | ||
bind = { | ||
"M-m" = "ace-window"; | ||
}; | ||
config = '' | ||
(setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l) | ||
aw-dispatch-always t) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.all-the-icons = { | ||
demand = true; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.android-env = { | ||
demand = true; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.android-mode = { | ||
demand = true; | ||
config = '' | ||
(setq-default adb-host "192.168.0.3") | ||
(defun adb-connect (host) | ||
"Connect ADB Daemon to HOST." | ||
(interactive (list (read-string (format "Android Device Host [%s]: " adb-host) nil nil adb-host))) | ||
(let ((adb (android-tool-path "adb"))) | ||
(with-temp-buffer | ||
(let ((exit-code (call-process adb nil (current-buffer) nil "connect" host))) | ||
(progn | ||
(goto-char (point-max)) | ||
(delete-backward-char 1) | ||
(message "%s: %s" adb (buffer-string))) | ||
(when (= exit-code 0) | ||
(setq adb-host host)))))) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.auctex-latexmk = { | ||
demand = true; | ||
after = [ "auctex" ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.auctex-lua = { | ||
demand = true; | ||
after = [ "auctex" ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.auctex = { | ||
demand = true; | ||
defer = true; | ||
after = [ "tex" "latex" ]; | ||
config = '' | ||
(TeX-global-PDF-mode t) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.auth-source = { | ||
demand = true; | ||
name = "pass"; | ||
config = '' | ||
(require 'auth-source-pass) | ||
(setq auth-sources '(;default | ||
;"secrets:session" | ||
;"secrets:Login" | ||
password-store | ||
"~/.authinfo" | ||
"~/.authinfo.gpg")) | ||
''; | ||
systemDeps = with pkgs; [ pass ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.avy = { | ||
demand = true; | ||
bind = { | ||
"C-=" = "avy-goto-char"; | ||
}; | ||
config = '' | ||
(setq avy-background t) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ config, lib, usr, pkgs, domains, ... }: | ||
|
||
{ | ||
emacs-loader.bitwarden = { | ||
config = '' | ||
(setenv "BW_SESSION" | ||
(let ((secret (plist-get | ||
(nth 0 (auth-source-search :host "bitwarden-session")) | ||
:secret))) | ||
(if (functionp secret) (funcall secret) secret))) | ||
(setq bitwarden-user "me@${domains.home}") | ||
(setq bitwarden-automatic-unlock (lambda () (read-passwd "Bitwarden Password: "))) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.buffer-move = { | ||
demand = true; | ||
after = [ "exwm-input" ]; | ||
config = '' | ||
(progn | ||
(exwm-input-set-key (kbd "<s-up>") #'buf-move-up) | ||
(exwm-input-set-key (kbd "<s-down>") #'buf-move-down) | ||
(exwm-input-set-key (kbd "<s-left>") #'buf-move-left) | ||
(exwm-input-set-key (kbd "<s-right>") #'buf-move-right)) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.calfw-org = { | ||
demand = true; | ||
after = [ "org" "calfw" ]; | ||
config = '' | ||
(setq calendar-week-start-day 1) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.calfw = { | ||
demand = true; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.cargo = { | ||
demand = true; | ||
after = [ "rust-mode" ]; | ||
hook = [ | ||
{ rust-mode = "cargo-minor-mode"; } | ||
]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.cl = { | ||
package = lib.const null; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.company-box = { | ||
demand = true; | ||
after = [ "company" ]; | ||
hook = [ | ||
{ company-mode = "company-box-mode"; } | ||
]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.company-cabal = { | ||
demand = true; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.company-lsp = { | ||
demand = true; | ||
after = [ "company" "lsp" ]; | ||
config = '' | ||
(push 'company-lsp company-backends) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.company = { | ||
demand = true; | ||
diminish = [ "company-mode" ]; | ||
hook = [ | ||
{ prog-mode = "company-mode"; } | ||
]; | ||
config = '' | ||
(setq company-tooltip-align-annotations t | ||
company-minimum-prefix-length 1) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.counsel-projectile = { | ||
demand = true; | ||
after = [ "projectile" "counsel" ]; | ||
config = '' | ||
(counsel-projectile-mode t) | ||
(setq ivy-initial-inputs-alist nil) | ||
''; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ config, lib, usr, pkgs, ... }: | ||
|
||
{ | ||
emacs-loader.counsel = { | ||
demand = true; | ||
after = [ "ivy" ]; | ||
bind = { | ||
"M-x" = "counsel-M-x"; | ||
"C-x M-f" = "counsel-recentf"; | ||
#"C-y" = "counsel-yank-pop"; | ||
}; | ||
config = '' | ||
(setq ivy-initial-inputs-alist nil) | ||
''; | ||
}; | ||
} |
Oops, something went wrong.