From 68ccbe26a7d7fd5182b5233da94532a9fac2823d Mon Sep 17 00:00:00 2001 From: xenia Date: Wed, 30 Apr 2025 21:35:54 +0200 Subject: [PATCH] bye emacs --- home/alacritty/alacritty.nix | 6 +----- home/graphical.nix | 13 ++++--------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/home/alacritty/alacritty.nix b/home/alacritty/alacritty.nix index 1084e403..15504342 100644 --- a/home/alacritty/alacritty.nix +++ b/home/alacritty/alacritty.nix @@ -5,8 +5,7 @@ export LC_ALL='en_US.UTF-8' export LC_CTYPE='UTF-8' SESSIONS=$(tmux ls) -SESSIONS=\"$ emacsclient -$ rink +SESSIONS=\"$ rink $SESSIONS Connect to coral.shoes (tmux) Connect to coral.shoes (raw) @@ -19,9 +18,6 @@ case $CHOICE in '$ rink') ${rink}/bin/rink ;; - '$ emacsclient') - ${emacs}/bin/emacsclient -n --create-frame -e '(x-focus-frame (selected-frame))' --alternate-editor= - ;; 'Connect to coral.shoes (tmux)') ${mosh}/bin/mosh web -- tmux attach ;; diff --git a/home/graphical.nix b/home/graphical.nix index 38b52c38..b3aa49d2 100644 --- a/home/graphical.nix +++ b/home/graphical.nix @@ -58,17 +58,12 @@ in rec { ++ (if pkgs.stdenv.isDarwin then [] else [pkgs.keepassxc pkgs.vesktop pkgs.ares]) ; - programs.alacritty = alacritty; - programs.emacs = { - package = pkgs.emacs; - enable = true; - extraPackages = epkgs: (with epkgs; [ - vterm bind-key rust-mode lsp-mode company meow haskell-mode - terraform-mode nix-mode insert-kaomoji - ]); - extraConfig = builtins.readFile ../dotfiles/init.el; + home.file.".XCompose" = { + source = ../nixos/kblayouts/fox-compose.xcompose; }; + programs.alacritty = alacritty; + home.pointerCursor = let miku-cursor = pkgs.stdenv.mkDerivation { name = "miku-cursor";