File tree Expand file tree Collapse file tree 5 files changed +38
-48
lines changed
Expand file tree Collapse file tree 5 files changed +38
-48
lines changed Original file line number Diff line number Diff line change 4646 } ;
4747 in {
4848 devShells . default = pkgs . mkShell {
49- NIX_CONFIG = "extra-experimental-features = nix-command flakes repl-flake " ;
49+ NIX_CONFIG = "extra-experimental-features = nix-command flakes" ;
5050 nativeBuildInputs = with pkgs ; [
5151 nix
5252 home-manager
Original file line number Diff line number Diff line change 3232 alejandra
3333 deadnix # Nix dead code locator
3434 statix # Nix linter
35+ nix-inspect
3536
3637 flyctl
3738 gh
Original file line number Diff line number Diff line change 4545 home . sessionVariables = with pkgs ; {
4646 PKG_CONFIG_PATH = "\ ${PKG_CONFIG_PATH}:${ openssl . dev } /lib/pkgconfig:${ udev . dev } /lib/pkgconfig" ;
4747 LIBCLANG_PATH = "${ llvmPackages . libclang } /lib" ;
48- RUSTUP_DIST_SERVER = "https://rsproxy.cn" ;
49- RUSTUP_UPDATE_ROOT = "https://rsproxy.cn/rustup" ;
50- CARGO_UNSTABLE_SPARSE_REGISTRY = "true" ;
5148 } ;
5249
5350 home . sessionPath = [
5653
5754 home . file = {
5855 ".cargo/config" . text = ''
59- [source.crates-io]
60- replace-with = 'rsproxy-sparse'
61- [source.rsproxy]
62- registry = "https://rsproxy.cn/crates.io-index"
63- [source.rsproxy-sparse]
64- registry = "sparse+https://rsproxy.cn/index/"
65- [registries.rsproxy]
66- index = "https://rsproxy.cn/crates.io-index"
6756 [net]
6857 git-fetch-with-cli = true
6958 '' ;
Original file line number Diff line number Diff line change 99 imports = [ ./mirrors.nix ] ;
1010
1111 nix = {
12- package = pkgs . nixUnstable ;
12+ package = pkgs . nixVersions . latest ;
1313
1414 gc = {
1515 automatic = true ;
2828 "3waffel.cachix.org-1:Tm5oJGJA8klOLa4dYRJvoYWQIpItX+0w9KvoRP8Z2mc="
2929 ] ;
3030 trusted-users = [ "root" "@wheel" ] ;
31- experimental-features = [ "nix-command" "flakes" "repl-flake" ] ;
31+ experimental-features = [ "nix-command" "flakes" ] ;
3232 warn-dirty = false ;
3333 system-features = [ "kvm" "big-parallel" ] ;
3434 } ;
You can’t perform that action at this time.
0 commit comments