about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-07T22·01+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-07T22·01+0100
commit1ece8c083b43142a375baa7d137fcba8bde717b6 (patch)
tree8880182ac6f7f42491257b2c484ea71e28b9fc47 /emacs/.emacs.d/wpc
parent11c46b9ad57ce9b1977d43fe2f520f7483805c46 (diff)
Drop support for Nix home-manager
On my work machines, I'm finding home-manager to be more bothersome than
helpful. I'm preferring a simpler workflow for the time being.
Diffstat (limited to 'emacs/.emacs.d/wpc')
-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.