Commit ad9477c3a6c0

Vincent Demeester <vincent@sbr.pm>
2026-06-15 09:34:00
chore(shell): remove atuin entirely
Removed atuin client config, eshell-atuin emacs package, and atuin server service from sakhalin.
1 parent 81de671
Changed files (4)
home
systems
sakhalin
home/common/dev/emacs.nix
@@ -73,7 +73,6 @@ let
       embark-consult
       # emms
       envrc
-      eshell-atuin
       # eshell-prompt-extras
       esup
       # flimenu
@@ -220,7 +219,7 @@ in
   #   #socketActivation.enable = true;
   # };
   home.sessionVariables = {
-    EDITOR = "emacs";
+    EDITOR = "emacsclient";
     ALTERNATE_EDITOR = "emacs -nw";
   };
 }
home/common/shell/atuin.nix
@@ -1,45 +0,0 @@
-_: {
-  programs.atuin = {
-    enable = true;
-    enableZshIntegration = false; # TODO: remove atuin entirely (see TODO)
-    flags = [ "--disable-up-arrow" ];
-    settings = {
-      auto_sync = true;
-      sync_frequency = "10m";
-      sync_address = "http://sakhalin.sbr.pm:8888";
-      search_mode = "skim";
-      filter_mode = "global";
-      enter_accept = false;
-      prefers_reduced_motion = true;
-      common_prefix = [ "sudo" ];
-      ignored_commands = [
-        "cd"
-        "fg"
-        "ls"
-        "rm"
-        "vi"
-        "vim"
-        "p"
-        "d"
-        "ll"
-        "j"
-        "g"
-        ":"
-        "mv"
-        "cat"
-        "echo"
-      ];
-      # history_filter = [
-      #   "^curl"
-      #   "^wget"
-      #   "^monolith"
-      #   "^sherlock"
-      #   "^yt-dlp"
-      #   "^yt-dl"
-      #   "^gallery-dl"
-      #   "^archivebox"
-      #   "^fanficfare"
-      # ];
-    };
-  };
-}
home/common/shell/default.nix
@@ -1,7 +1,6 @@
 { pkgs, ... }:
 {
   imports = [
-    ./atuin.nix
     ./direnv.nix
     ./fzf.nix
     ./git.nix
systems/sakhalin/extra.nix
@@ -126,11 +126,6 @@ in
   };
 
   services = {
-    atuin = {
-      enable = true;
-      host = "0.0.0.0";
-      openRegistration = false;
-    };
     # PostgreSQL backups
     postgresqlBackup = {
       enable = true;