From 6d0345dd8ef24831a8261610334e34d4d5fa3396 Mon Sep 17 00:00:00 2001 From: jgrogan Date: Wed, 9 Jul 2025 07:23:02 +0100 Subject: [PATCH] Add rust and initial guix sway --- emacs/.emacs.d/modules/jg-dev.el | 10 ++++++++++ guix/.home-config.scm.swp | Bin 12288 -> 0 bytes guix/home-config.scm | 10 ++-------- sway/.config/sway/config | 6 +++--- 4 files changed, 15 insertions(+), 11 deletions(-) delete mode 100644 guix/.home-config.scm.swp diff --git a/emacs/.emacs.d/modules/jg-dev.el b/emacs/.emacs.d/modules/jg-dev.el index 4722ff9..ed28eb6 100644 --- a/emacs/.emacs.d/modules/jg-dev.el +++ b/emacs/.emacs.d/modules/jg-dev.el @@ -96,6 +96,16 @@ (use-package yaml-mode :ensure t) +(use-package meson-mode + :ensure t) + +(use-package rustic + :ensure t + :config + (setq rustic-format-on-save nil) + :custom + (rustic-cargo-use-last-stored-arguments t)) + ;;(ac-config-default) ;;(require 'ac-geiser) ;;(;add-hook 'geiser-mode-hook 'ac-geiser-setup) diff --git a/guix/.home-config.scm.swp b/guix/.home-config.scm.swp deleted file mode 100644 index 24461e1334026017d7a5265c9dbb8bcb4b929852..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2%Wl&^6o#jW9c{U7kr-Sd9I19%*Z`H-aF?i9KoLu(_V_~WnaE?O$p$1g?5ZO1 z3cLVI-T*dz0Nw(L1&9T|Cw7yRQdOv%qBF{$iG7aG{PSftQO^3(vxlqvhQG`(&M-EA z;%xHkaXEA4Bx5h*LdQbYkpo8|2M5O6;H#!!*AI0WrI|F{xJn1zMCZ~Aw2IQ$H$mQ} z(@X@2z)=yX%E-Guw|4F7@={%L!MViGpIbYs>Qsja5CI}U1c(3;AOb{y2oQl|K%nf+ zu-EW;qVamMnP>LQ%_U7lfCvx)B0vO)01+SpM1Tko0U|&Ih`=!y4;ZlSr=*-dthEc$66 zxm|n^#!Y*0Rfsax%CpVGUX$dN!=Bt@&41qDF_Y^I+M9s2yB4pF`DjGWdliMTxxY=~GI?wXzq(kKlqTI1bnBPifn{!;bRLaSV=lDR;bs^*Is^=#MZ z7j9NYdbtj(Oma6?6>qCp(tn1{(3CRgCJ~|Dtby#4GCBih|7h)uHz&ZLj?A*dWd6Na zr`_9l8)#1VCXRoHt*r2Sy5PAkBu`bOi`+t6gb~ThMDhoF#J9Y@h6s?E$}o+4aZAxJk$eu en_xYRzM9shYnj3icb;+>dMk diff --git a/guix/home-config.scm b/guix/home-config.scm index 3d5dd90..348dfce 100755 --- a/guix/home-config.scm +++ b/guix/home-config.scm @@ -1,10 +1,8 @@ -;; This is a sample Guix Home configuration which can help setup your -;; home directory in the same declarative manner as Guix System. -;; For more information, see the Home Configuration section of the manual. (define-module (guix-home-config) #:use-module (gnu home) #:use-module (gnu home services) #:use-module (gnu home services shells) + #:use-module (gnu home services sway) #:use-module (gnu services) #:use-module (gnu system shadow) #:use-module (gnu packages)) @@ -52,11 +50,7 @@ (services (list - ;; Uncomment the shell you wish to use for your user: - (service home-bash-service-type) - ;(service home-fish-service-type) - ;(service home-zsh-service-type) - + (service home-bash-service-type) (service home-files-service-type `((".guile" ,%default-dotguile) (".Xdefaults" ,%default-xdefaults))) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 8bffe08..b37fd9b 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -15,10 +15,11 @@ set $up k set $right l # Your preferred terminal emulator set $term foot + # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. -set $menu dmenu_path | wmenu | xargs swaymsg exec -- +set $menu wmenu-run ### Output configuration # @@ -35,8 +36,7 @@ output HDMI-A-1 resolution 1920x1080 position 1920,0 # # Example configuration: # -# exec swayidle -w \ -# timeout 300 'swaylock -f -c 000000' \ +exec swayidle -w timeout 300 'swaylock -f -c 000000' # timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ # before-sleep 'swaylock -f -c 000000' #