Skip to content

Commit

Permalink
Updated nixpkgs (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd authored Jun 18, 2024
1 parent b970704 commit 67eacce
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 32 deletions.
52 changes: 26 additions & 26 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
url = "github:nix-community/home-manager/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
};
attic.url = "github:zhaofengli/attic";
Expand Down Expand Up @@ -87,6 +87,9 @@
overlays = [
attic.overlays.default
];
config.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [
"vault"
];
};
in
home-manager.lib.homeManagerConfiguration {
Expand Down
7 changes: 3 additions & 4 deletions modules/nix/basics.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
{
assertions = [
{
assertion = !(pkgs.nixVersions ? nix_2_20);
message = "Nix 2.20 is available, please update this config.";
assertion = !(pkgs.nixVersions ? nix_2_23);
message = "Nix 2.23 is available, please update this config.";
}
];

nix.package =
# Update to the latest version of Nix
assert !(pkgs.nixVersions ? nix_2_20);
pkgs.nixVersions.nix_2_19;
pkgs.nixVersions.nix_2_22;
}

0 comments on commit 67eacce

Please sign in to comment.