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.
This commit is contained in:
William Carroll 2020-09-07 23:01:59 +01:00
parent 11c46b9ad5
commit 1ece8c083b
4 changed files with 11 additions and 241 deletions

View file

@ -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.

View file

@ -9,6 +9,16 @@ let
emacsBinPath = makeBinPath (with pkgs; [
tdesktop
ripgrep
bat
fd
pass
tokei
nmap
tldr
diskus
jq
pup
exa
gitAndTools.hub
kubectl
google-cloud-sdk