about summary refs log tree commit diff
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/wpc/wpc-nix.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-nix.el b/emacs/.emacs.d/wpc/wpc-nix.el
index 0f2a1a63615b..a555e4621a1f 100644
--- a/emacs/.emacs.d/wpc/wpc-nix.el
+++ b/emacs/.emacs.d/wpc/wpc-nix.el
@@ -36,16 +36,6 @@
                    "-f" "<briefcase>" "-iA" "emacs.nixos")
     (display-buffer bname)))
 
-(defun wpc-nix-home-manager-switch ()
-  "Use Nix to reconfigure the user environment."
-  (interactive)
-  (start-process "wpc-nix-home-manager-switch" "*wpc-nix-home-manager-switch*"
-                 "home-manager"
-                 "-I" (format "nixpkgs=%s" (f-expand "~/nixpkgs-channels"))
-                 "-I" (format "home-manager=%s" (f-expand "~/home-manager"))
-                 "switch")
-  (display-buffer "*wpc-nix-home-manager-switch*"))
-
 (defun wpc-nix-sly-from-briefcase (attr)
   "Start a Sly REPL configured using the derivation pointed at by ATTR.