feat(hm/price): use rust nightly
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
This commit is contained in:
parent
1eae026059
commit
89925ecbcb
@ -7,6 +7,10 @@
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs-master.url = "github:nixos/nixpkgs";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
fenix = {
|
||||
url = "github:nix-community/fenix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
lanzaboote = {
|
||||
url = "github:nix-community/lanzaboote";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@ -89,6 +93,7 @@
|
||||
imports = [ inputs.agenix.homeManagerModules.default ];
|
||||
nixpkgs.overlays = [
|
||||
inputs.emacs-overlay.overlays.default
|
||||
inputs.fenix.overlays.default
|
||||
self.overlays.modifications
|
||||
self.overlays.additions
|
||||
];
|
||||
|
27
users/price/conf/rust/default.nix
Normal file
27
users/price/conf/rust/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home = {
|
||||
sessionVariables = {
|
||||
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
||||
RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
|
||||
RUST_SRC_PATH = "${pkgs.fenix.complete.rust-src}/lib/rustlib/src/rust/library";
|
||||
};
|
||||
packages = with pkgs; [
|
||||
(pkgs.fenix.complete.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
])
|
||||
rust-analyzer-nightly
|
||||
cargo-watch
|
||||
cargo-nextest
|
||||
];
|
||||
|
||||
};
|
||||
}
|
@ -68,10 +68,6 @@ in
|
||||
Fmt
|
||||
screen-cap
|
||||
nodePackages.prettier
|
||||
cargo
|
||||
clippy
|
||||
rustc
|
||||
rustfmt
|
||||
python3
|
||||
shfmt
|
||||
bob-nvim
|
||||
@ -156,15 +152,12 @@ in
|
||||
pkg-config
|
||||
openssl.dev
|
||||
curl.dev
|
||||
]
|
||||
++ [ rust-analyzer ];
|
||||
];
|
||||
|
||||
file = softLinkDots ".config";
|
||||
|
||||
sessionVariables = {
|
||||
_ZL_DATA = "${config.xdg.cacheHome}/zlua";
|
||||
RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
|
||||
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
||||
OMNISHARPHOME = "${config.xdg.configHome}/omnisharp";
|
||||
NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
|
||||
TERMINFO_DIRS = "${config.home.profileDirectory}/share/terminfo";
|
||||
|
Loading…
Reference in New Issue
Block a user