all repos — nixfiles @ 42ae19e4dfc9cca93fa7030a98939de3528457c2

System and user configuration, managed by nix and home-manager

Don't use pkgsUnstable unnecessarily

Alan Pearce
commit

42ae19e4dfc9cca93fa7030a98939de3528457c2

parent

05ccf28d742b0b12360e833ecf3254ecd7c60b94

1 file changed, 1 insertion(+), 9 deletions(-)

changed files
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -3,8 +3,6 @@
let inherit (pkgs) stdenv; - pkgsUnstable = if stdenv.isDarwin then import <nixpkgs> {} else import <nixos-unstable> {}; - editorScript = pkgs.writeScriptBin "edit" '' #!${pkgs.runtimeShell} if [ -z "$1" ]; then
@@ -138,17 +136,11 @@ ws-butler
which-key yaml-mode ] ++ lib.optionals (!stdenv.isDarwin) [ - pkgs.unstable.mu + pkgs.mu ]); }; home.packages = [ editorScript - ]; - nixpkgs.overlays = [ - (self: super: { - emacsPackagesNgGen = pkgsUnstable.emacsPackagesNgGen; - emacs = pkgsUnstable.emacs; - }) ]; home.sessionVariables = { EDITOR = "${editorScript}/bin/edit";