Skip to content

Commit 9c0b019

Browse files
committed
update flake
1 parent d4ee2f8 commit 9c0b019

File tree

5 files changed

+38
-48
lines changed

5 files changed

+38
-48
lines changed

flake.lock

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
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

home-manager/modules/cli/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
alejandra
3333
deadnix # Nix dead code locator
3434
statix # Nix linter
35+
nix-inspect
3536

3637
flyctl
3738
gh

home-manager/modules/dev/default.nix

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@
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 = [
@@ -56,14 +53,6 @@
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
'';

hosts/common/global/nix/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
imports = [./mirrors.nix];
1010

1111
nix = {
12-
package = pkgs.nixUnstable;
12+
package = pkgs.nixVersions.latest;
1313

1414
gc = {
1515
automatic = true;
@@ -28,7 +28,7 @@
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
};

0 commit comments

Comments
 (0)