blob: 7d1b07704a3f79a118276f2e27e8a5c709fb396a [file] [log] [blame]
Skyler Grey252927a2022-10-18 22:18:15 +01001{ username
Skyler Grey6bb72ad2023-02-19 23:45:59 +00002, fenix
3, system
Skyler Grey252927a2022-10-18 22:18:15 +01004, pkgs
5, ...
Skyler Greya9addb32022-10-31 00:22:55 +00006}: {
Skyler Grey6bb72ad2023-02-19 23:45:59 +00007 home.home.packages = with fenix.packages.${system}.latest; [
Skyler Grey1bf9af42022-09-11 00:53:47 +01008 cargo
Skyler Grey1bf9af42022-09-11 00:53:47 +01009 rustc
10 rustfmt
Skyler Greyea6c91e2023-01-25 21:32:48 +000011 rust-analyzer
Skyler Grey6bb72ad2023-02-19 23:45:59 +000012 pkgs.bacon
13 pkgs.gcc
Skyler Grey1bf9af42022-09-11 00:53:47 +010014 ];
Skyler Grey252927a2022-10-18 22:18:15 +010015 config.environment.persistence."/nix/persist".users.${username}.directories = [ ".cargo" ];
Skyler Grey71d59162022-09-01 23:46:19 +010016}