Skip to content

Commit

Permalink
feat: add the rust-overlay to system and home-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Nov 18, 2024
1 parent 5a1d8bb commit 8b2b615
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
21 changes: 21 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
libations.url = "github:jnsgruk/libations";
libations.inputs.nixpkgs.follows = "nixpkgs";

rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";

vscode-server.url = "github:nix-community/nixos-vscode-server";
vscode-server.inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down
4 changes: 1 addition & 3 deletions home/common/dev/base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
{
home.packages = with pkgs; [
# Rust tooling
cargo
rust-bin.stable.latest.default
rust-analyzer
rustfmt
rustc

gnumake
gcc
Expand Down
1 change: 1 addition & 0 deletions home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

# You can also add overlays exported from other flakes:
inputs.agenix.overlays.default
inputs.rust-overlay.overlays.default
];

config = {
Expand Down
1 change: 1 addition & 0 deletions host/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
inputs.agenix.overlays.default
inputs.flypi.overlay
inputs.libations.overlays.default
inputs.rust-overlay.overlays.default

# Or just specify overlays directly here, for example:
# (_: _: { embr = inputs.embr.packages."${pkgs.system}".embr; })
Expand Down

0 comments on commit 8b2b615

Please sign in to comment.