From e7945e9493ce7093b6e3fb3f78bf815c5b8c1891 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 10 Mar 2023 12:57:30 +0100 Subject: [PATCH] Enable cargo module in work profile --- users/erwin/work.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/users/erwin/work.nix b/users/erwin/work.nix index bca382f..8f48680 100644 --- a/users/erwin/work.nix +++ b/users/erwin/work.nix @@ -24,11 +24,20 @@ in programs = { alacritty.enable = true; bat.enable = true; + cargo = { + enable = true; + settings = { + "registries.crates-io" = { + protocol = "sparse"; + }; + }; + }; dropbox.enable = true; dunst.enable = true; emacs = { enable = true; - package = with pkgs; ((emacsPackagesFor emacsUnstable).emacsWithPackages (epkgs: [ epkgs.emacsql epkgs.emacsql-sqlite ])); + # package = with pkgs; ((emacsPackagesFor emacsUnstable).emacsWithPackages (epkgs: [ epkgs.emacsql epkgs.emacsql-sqlite ])); + package = pkgs.emacs; daemon = true; }; firefox = {