summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-24 08:13:54 +0300
committerMarc Coquand <marc@mccd.space>2024-10-24 08:13:54 +0300
commitabe17b042ca23eb3fb4c759cc62214440691fb1f (patch)
treeca203e43df2c3a2188b723ab878177400ebc2987 /home
parentba51d8509f78361f3049900861f492e100116a8c (diff)
downloadguix-abe17b042ca23eb3fb4c759cc62214440691fb1f.tar.gz
guix-abe17b042ca23eb3fb4c759cc62214440691fb1f.tar.bz2
guix-abe17b042ca23eb3fb4c759cc62214440691fb1f.zip
.
Diffstat (limited to 'home')
-rw-r--r--home/config.scm21
-rw-r--r--home/dots/.emacs11
-rw-r--r--home/dots/.emacs.d/elisp/custom-keymaps.el (renamed from home/dots/.emacs.d/elisp/keymaps.el)0
-rw-r--r--home/dots/.local/share/fonts/ARIBL0.ttfbin0 -> 57448 bytes
-rw-r--r--home/dots/.local/share/fonts/ArialTh.ttfbin0 -> 40980 bytes
-rw-r--r--home/dots/.local/share/fonts/Arialn.ttfbin0 -> 60012 bytes
-rw-r--r--home/dots/.local/share/fonts/arial.ttfbin0 -> 915212 bytes
7 files changed, 30 insertions, 2 deletions
diff --git a/home/config.scm b/home/config.scm
index 3319d0e..0df9d00 100644
--- a/home/config.scm
+++ b/home/config.scm
@@ -28,6 +28,13 @@
#:use-module (gnu packages gnupg)
#:use-module (gnu packages aspell)
#:use-module (gnu packages sqlite)
+ #:use-module (gnu packages gcc)
+ #:use-module (gnu packages commencement)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages golang-crypto)
+ #:use-module (gnu packages linux)
+ #:use-module (gnu packages image)
+ #:use-module (gnu packages xdisorg)
#:use-module (nongnu packages mozilla)
#:use-module (gnu packages databases)
#:use-module (gnu packages compression)
@@ -49,6 +56,7 @@
font-iosevka
font-iosevka-aile
font-iosevka-etoile
+ font-liberation
isync
@@ -61,7 +69,9 @@
unzip
go
+ binutils
sqlite
+ gcc-toolchain
mg
@@ -79,14 +89,18 @@
aspell-dict-en
gnupg
+ age
pinentry
openssh
firefox
xsetroot
+ scrot
+ imlib2 ;; Needed for scrot
xset
xrdb
+ brightnessctl
autocutsel
gsettings-desktop-schemas
setxkbmap))
@@ -97,11 +111,16 @@
(guix-defaults? #f)
(bash-profile (list (local-file "./profile")))
(bashrc (list (local-file "./bashrc")))))
+
+
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
(file-append pinentry-emacs "/bin/pinentry-emacs"))
- (ssh-support? #t)))
+ (ssh-support? #t)
+ (max-cache-ttl 99999)
+ (default-cache-ttl 99999)))
+
(service home-files-service-type
`((".guile" ,%default-dotguile)
diff --git a/home/dots/.emacs b/home/dots/.emacs
index ca901bc..dd9adfb 100644
--- a/home/dots/.emacs
+++ b/home/dots/.emacs
@@ -93,6 +93,12 @@
(exwm-input-set-key (kbd "C-<print>")
(lambda () (interactive)
(shell-command "scrot -s -F '/home/mccd/screenshots/%Y-%m-%d_$wx$h.png'")))
+ (exwm-input-set-key (kbd "<XF86MonBrightnessDown>")
+ (lambda () (interactive)
+ (shell-command "brightnessctl set 5%- 1> /dev/null")))
+ (exwm-input-set-key (kbd "<XF86MonBrightnessUp>")
+ (lambda () (interactive)
+ (shell-command "brightnessctl set +5% 1> /dev/null")))
(exwm-input-set-key (kbd "s-<SPC>")
(lambda (cmd) ;; s-&: Launch application.
(interactive (list (read-shell-command "$ ")))
@@ -400,7 +406,7 @@
(css-mode . (lambda ((interactive)
(setq-local tab-width 2)
(setq sgml-basic-offset 2
- indent-tabs-mode t))))))
+ indent-tabs-mode t))))
(html-mode . (lambda ()
(interactive)
(setq-local tab-width 2)
@@ -489,6 +495,9 @@
(define-key eglot-mode-map (kbd "C-c r") 'eglot-rename)
(define-key eglot-mode-map (kbd "C-c o") 'eglot-code-actions)
:hook
+ (css-mode . eglot-ensure)
+ (html-mode . eglot-ensure)
+ (javascript-mode . eglot-ensure)
(nix-mode . eglot-ensure)
(go-mode . eglot-ensure))
diff --git a/home/dots/.emacs.d/elisp/keymaps.el b/home/dots/.emacs.d/elisp/custom-keymaps.el
index 7c6d614..7c6d614 100644
--- a/home/dots/.emacs.d/elisp/keymaps.el
+++ b/home/dots/.emacs.d/elisp/custom-keymaps.el
diff --git a/home/dots/.local/share/fonts/ARIBL0.ttf b/home/dots/.local/share/fonts/ARIBL0.ttf
new file mode 100644
index 0000000..a1e68a3
--- /dev/null
+++ b/home/dots/.local/share/fonts/ARIBL0.ttf
Binary files differ
diff --git a/home/dots/.local/share/fonts/ArialTh.ttf b/home/dots/.local/share/fonts/ArialTh.ttf
new file mode 100644
index 0000000..614f0af
--- /dev/null
+++ b/home/dots/.local/share/fonts/ArialTh.ttf
Binary files differ
diff --git a/home/dots/.local/share/fonts/Arialn.ttf b/home/dots/.local/share/fonts/Arialn.ttf
new file mode 100644
index 0000000..5799f41
--- /dev/null
+++ b/home/dots/.local/share/fonts/Arialn.ttf
Binary files differ
diff --git a/home/dots/.local/share/fonts/arial.ttf b/home/dots/.local/share/fonts/arial.ttf
new file mode 100644
index 0000000..ad7d8ea
--- /dev/null
+++ b/home/dots/.local/share/fonts/arial.ttf
Binary files differ