Emacs fixes

This commit is contained in:
Aleksandr Lebedev 2025-11-11 12:26:45 +01:00
parent fe10168d00
commit 7ce7fae7ea
2 changed files with 60 additions and 56 deletions

View file

@ -85,7 +85,8 @@
((kylekrein/detect-wsl) 'toast) ((kylekrein/detect-wsl) 'toast)
(t 'libnotify))) (t 'libnotify)))
(make-directory "~/.cache/emacs/tildafiles") (unless (file-exists-p "~/.cache/emacs/tildafiles")
(make-directory "~/.cache/emacs/tildafiles"))
(setq backup-directory-alist '((".*" . "~/.cache/emacs/tildafiles"))) (setq backup-directory-alist '((".*" . "~/.cache/emacs/tildafiles")))
(use-package diminish :ensure t) (use-package diminish :ensure t)

View file

@ -37,19 +37,16 @@
(home-environment (home-environment
;; Below is the list of packages that will show up in your ;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile. ;; Home profile, under ~/.guix-home/profile.
(packages (list font-iosevka (packages (list git
git
kitty kitty
btop btop
fastfetch fastfetch
librewolf librewolf
icecat icecat
nheko
;birdtray ;birdtray
nextcloud-client nextcloud-client
nautilus nautilus
xournalpp xournalpp
ripgrep
quickshell quickshell
cava cava
wl-clipboard wl-clipboard
@ -70,13 +67,19 @@
(service home-dbus-service-type) (service home-dbus-service-type)
(service home-bash-service-type (service home-bash-service-type
(home-bash-configuration (home-bash-configuration
(environment-variables '(("EDITOR" . "emacsclient -c"))) (environment-variables
'(("EDITOR" . "emacsclient -c")))
(aliases '(("gs" . "git status") (aliases '(("gs" . "git status")
("system-reconfigure" . "sudo -E guix time-machine -C ~/dotfiles/guix-config/channels-lock.scm -- system -L ~/dotfiles reconfigure ~/dotfiles/guix-config/system/$(hostname).scm") ("system-reconfigure"
("home-reconfigure" . "guix time-machine -C ~/dotfiles/guix-config/channels-lock.scm -- home -L ~/dotfiles reconfigure ~/dotfiles/guix-config/home/workstation.scm") . "sudo -E guix time-machine -C ~/dotfiles/guix-config/channels-lock.scm -- system -L ~/dotfiles reconfigure ~/dotfiles/guix-config/system/$(hostname).scm")
("guix-pull" . "guix pull --channels=$HOME/dotfiles/guix-config/channels.scm; guix describe --format=channels > $HOME/dotfiles/guix-config/channels-lock.scm") ("home-reconfigure"
("reconfigure" . "system-reconfigure && home-reconfigure") . "guix time-machine -C ~/dotfiles/guix-config/channels-lock.scm -- home -L ~/dotfiles reconfigure ~/dotfiles/guix-config/home/workstation.scm")
("guix-full-upgrade" . "guix-pull && reconfigure"))) ("guix-pull"
. "guix pull --channels=$HOME/dotfiles/guix-config/channels.scm; guix describe --format=channels > $HOME/dotfiles/guix-config/channels-lock.scm")
("reconfigure"
. "system-reconfigure && home-reconfigure")
("guix-full-upgrade"
. "guix-pull && reconfigure")))
(bashrc (bashrc
(list (local-file "prompt.sh"))))) (list (local-file "prompt.sh")))))
(service home-dotfiles-service-type (service home-dotfiles-service-type