1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2026-01-21 12:41:13 +00:00
ncc/modules/rust.nix
RGBCube 62c575774b
Refactor the whole codebase. Most notable changes:
- No more fail2ban. It didn't work properly
  anyways, I'll need to look into this in the future
- No nix-super. I don't need it and the overlay is
  broken so I'm waiting for that to be fixed first.
- Uses nh instead of nixos-rebuild. This is much
  better.
2024-04-19 16:24:30 +03:00

18 lines
298 B
Nix

{ lib, pkgs, ... }: with lib; merge
(desktopSystemPackages (with pkgs; [
cargo-expand
(fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
]))
(desktopSystemConfiguration {
environment.variables.CARGO_NET_GIT_FETCH_WITH_CLI = "true";
})