summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-05-26 13:58:07 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-05-26 13:58:07 +0200
commitfc6cf6169868e60c189e4b243330c3717ff159f3 (patch)
tree3f6dea9c1420e23756257b5abea27ec9ed92d58a /accounts
parent84f2affd66a0ff3947b91a30308cb8e6a8ff7594 (diff)
downloadnixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar
nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.gz
nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.bz2
nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.tar.xz
nixos-fc6cf6169868e60c189e4b243330c3717ff159f3.zip
...
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@eos.nix1
-rw-r--r--accounts/gkleen@sif/default.nix2
-rw-r--r--accounts/gkleen@sif/emacs.el6
-rw-r--r--accounts/gkleen@sif/xmonad/xmonad.hs4
-rw-r--r--accounts/mherold@eos/default.nix1
5 files changed, 11 insertions, 3 deletions
diff --git a/accounts/gkleen@eos.nix b/accounts/gkleen@eos.nix
new file mode 100644
index 00000000..c157af78
--- /dev/null
+++ b/accounts/gkleen@eos.nix
@@ -0,0 +1 @@
{ ... }: {}
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 69c3369f..84b9e464 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -93,7 +93,7 @@ in {
93 smart-mode-line highlight-parentheses highlight-symbol 93 smart-mode-line highlight-parentheses highlight-symbol
94 ag sass-mode lua-mode fira-code-mode use-package # notmuch 94 ag sass-mode lua-mode fira-code-mode use-package # notmuch
95 use-package-ensure-system-package git-gutter emacsScratch 95 use-package-ensure-system-package git-gutter emacsScratch
96 edit-server mediawiki 96 edit-server mediawiki editorconfig typescript-mode
97 ]; 97 ];
98 }; 98 };
99 firefox = { 99 firefox = {
diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el
index d4b1a092..1a7cb863 100644
--- a/accounts/gkleen@sif/emacs.el
+++ b/accounts/gkleen@sif/emacs.el
@@ -16,6 +16,8 @@
16(require 'evil) 16(require 'evil)
17(evil-mode 1) 17(evil-mode 1)
18 18
19(editorconfig-mode 1)
20
19(require 'edit-server) 21(require 'edit-server)
20(edit-server-start) 22(edit-server-start)
21 23
@@ -25,6 +27,8 @@
25 (define-key mediawiki-mode-map (kbd "<C-left>") nil) 27 (define-key mediawiki-mode-map (kbd "<C-left>") nil)
26 (define-key mediawiki-mode-map (kbd "<C-right>") nil))) 28 (define-key mediawiki-mode-map (kbd "<C-right>") nil)))
27 29
30(require 'typescript-mode)
31
28(global-subword-mode) 32(global-subword-mode)
29(global-undo-tree-mode) 33(global-undo-tree-mode)
30(global-fira-code-mode) 34(global-fira-code-mode)
@@ -144,6 +148,8 @@
144 148
145(setq direnv-enabled-hosts '("uni2work-dev1")) 149(setq direnv-enabled-hosts '("uni2work-dev1"))
146 150
151(setq auth-sources '("secrets:Login"))
152
147(defun tramp-sh-handle-start-file-process@my-direnv (args) 153(defun tramp-sh-handle-start-file-process@my-direnv (args)
148 "Enable Direnv for hosts in `direnv-enabled-hosts'." 154 "Enable Direnv for hosts in `direnv-enabled-hosts'."
149 (with-parsed-tramp-file-name (expand-file-name default-directory) nil 155 (with-parsed-tramp-file-name (expand-file-name default-directory) nil
diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs
index 8f66bf39..1b73b7a1 100644
--- a/accounts/gkleen@sif/xmonad/xmonad.hs
+++ b/accounts/gkleen@sif/xmonad/xmonad.hs
@@ -186,9 +186,9 @@ hostFromName h
186 , assign "mpv" $ (className =? "Alacritty" <&&> resource =? "twitch") 186 , assign "mpv" $ (className =? "Alacritty" <&&> resource =? "twitch")
187 , assign "web" $ className =? "chromium-browser" 187 , assign "web" $ className =? "chromium-browser"
188 , assign "web" $ className =? "Google-chrome" 188 , assign "web" $ className =? "Google-chrome"
189 , assign "work" $ (appName =? "Devtools" <&&> className =? "firefox-default") 189 , assign "work" $ (appName =? "Devtools" <&&> className =? "firefox")
190 , assign "work" $ className =? "Postman" 190 , assign "work" $ className =? "Postman"
191 , assign "web" $ (appName =? "Navigator" <&&> className =? "firefox-default") 191 , assign "web" $ (appName =? "Navigator" <&&> className =? "firefox")
192 , assign "comm" $ (className =? "Emacs" <&&> title =? "Mail") 192 , assign "comm" $ (className =? "Emacs" <&&> title =? "Mail")
193 , assign "comm" $ className =? "Zulip" 193 , assign "comm" $ className =? "Zulip"
194 , assign "comm" $ className =? "Element" 194 , assign "comm" $ className =? "Element"
diff --git a/accounts/mherold@eos/default.nix b/accounts/mherold@eos/default.nix
new file mode 100644
index 00000000..c157af78
--- /dev/null
+++ b/accounts/mherold@eos/default.nix
@@ -0,0 +1 @@
{ ... }: {}