Make rust use unstable, format code
This commit is contained in:
parent
a64c867c98
commit
370ebe95a8
@ -31,10 +31,7 @@
|
||||
src = ./.;
|
||||
|
||||
# Add overlays for the `nixpkgs` channel.
|
||||
overlays = with inputs;
|
||||
[
|
||||
nix-matlab.overlay
|
||||
];
|
||||
overlays = with inputs; [ nix-matlab.overlay ];
|
||||
|
||||
snowfall = {
|
||||
# The root of the snowfall config
|
||||
|
@ -48,13 +48,14 @@ config, ... }: {
|
||||
|
||||
# Rust setup
|
||||
unstable.rustc
|
||||
rustfmt
|
||||
cargo
|
||||
clippy
|
||||
rust-analyzer
|
||||
unstable.rustfmt
|
||||
unstable.cargo
|
||||
unstable.clippy
|
||||
unstable.rust-analyzer
|
||||
|
||||
# Further tools
|
||||
unstable.nh # nix helper
|
||||
cntr # nix debugger
|
||||
|
||||
(lib.frajul.my-helper-function lazygit)
|
||||
languagetool
|
||||
|
@ -50,7 +50,7 @@ in {
|
||||
dockfmt # docker
|
||||
google-java-format # java
|
||||
black # python
|
||||
rustfmt # rust
|
||||
unstable.rustfmt # rust
|
||||
shfmt
|
||||
|
||||
graphviz
|
||||
@ -60,7 +60,8 @@ in {
|
||||
emacs-all-the-icons-fonts
|
||||
];
|
||||
|
||||
home.activation.installDoomEmacs = lib.home-manager.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
home.activation.installDoomEmacs =
|
||||
lib.home-manager.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
if [ ! -d "/home/julian/.config/emacs" ]; then
|
||||
$DRY_RUN_CMD ${pkgs.git}/bin/git clone --depth=1 --single-branch "${doomRepoUrl}" "/home/julian/.config/emacs"
|
||||
fi
|
||||
@ -68,5 +69,5 @@ in {
|
||||
$DRY_RUN_CMD ${pkgs.git}/bin/git clone "${configRepoUrl}" "/home/julian/.config/doom"
|
||||
fi
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user