commit | 6bb72adc98a926e529453249deb7e9a73d51a771 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun Feb 19 23:45:59 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Feb 26 13:09:30 2023 +0000 |
tree | 9bb9102bbab66b518a16a864bc46b2720c4f36aa | |
parent | b6347083e5b80b1f1f85c802726a13a49bac9ecf [diff] |
Use fenix for installing later versions of rust
diff --git a/modules/rust.nix b/modules/rust.nix index 06b1fb6..72652d4 100644 --- a/modules/rust.nix +++ b/modules/rust.nix
@@ -1,14 +1,16 @@ { username +, fenix +, system , pkgs , ... }: { - home.home.packages = with pkgs; [ + home.home.packages = with fenix.packages.${system}.latest; [ cargo clippy rustc rustfmt - bacon - gcc + pkgs.bacon + pkgs.gcc ]; config.environment.persistence."/nix/persist".users.${username}.directories = [ ".cargo" ]; }