Skip to content

Commit 67eacce

Browse files
authored
Updated nixpkgs (#12)
1 parent b970704 commit 67eacce

File tree

3 files changed

+34
-32
lines changed

3 files changed

+34
-32
lines changed

flake.lock

+26-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
inputs = {
55
# Specify the source of Home Manager and Nixpkgs.
6-
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
6+
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
77
home-manager = {
8-
url = "github:nix-community/home-manager/release-23.11";
8+
url = "github:nix-community/home-manager/release-24.05";
99
inputs.nixpkgs.follows = "nixpkgs";
1010
};
1111
attic.url = "github:zhaofengli/attic";
@@ -87,6 +87,9 @@
8787
overlays = [
8888
attic.overlays.default
8989
];
90+
config.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [
91+
"vault"
92+
];
9093
};
9194
in
9295
home-manager.lib.homeManagerConfiguration {

modules/nix/basics.nix

+3-4
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
{
88
assertions = [
99
{
10-
assertion = !(pkgs.nixVersions ? nix_2_20);
11-
message = "Nix 2.20 is available, please update this config.";
10+
assertion = !(pkgs.nixVersions ? nix_2_23);
11+
message = "Nix 2.23 is available, please update this config.";
1212
}
1313
];
1414

1515
nix.package =
1616
# Update to the latest version of Nix
17-
assert !(pkgs.nixVersions ? nix_2_20);
18-
pkgs.nixVersions.nix_2_19;
17+
pkgs.nixVersions.nix_2_22;
1918
}

0 commit comments

Comments
 (0)