diff --git a/configuration.nix b/configuration.nix index d35b10b..5b80201 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,7 +16,6 @@ }; }; nix = { - package = pkgs.nixFlakes; extraOptions = '' experimental-features = nix-command flakes ''; diff --git a/flake.lock b/flake.lock index 0df3710..fc24e1f 100644 --- a/flake.lock +++ b/flake.lock @@ -74,11 +74,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1703992652, - "narHash": "sha256-C0o8AUyu8xYgJ36kOxJfXIroy9if/G6aJbNOpA5W0+M=", + "lastModified": 1704874635, + "narHash": "sha256-YWuCrtsty5vVZvu+7BchAxmcYzTMfolSPP5io8+WYCg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "32f63574c85fbc80e4ba1fbb932cde9619bad25e", + "rev": "3dc440faeee9e889fe2d1b4d25ad0f430d449356", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 3796cc9..6b5a078 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,8 @@ # Pin nixpkgs to the flake input, so that nixpkgs#hello comes from the # flake inputs.nixpkgs.url. ({ ... }: { nix.registry.nixpkgs.flake = nixpkgs; }) + # Use Nix 2.19 instead of 2.18.1. + ({ ... }: { nix.package = nixpkgs.legacyPackages.x86_64-linux.nixVersions.nix_2_19; }) # Apply the rest of the config. ./configuration.nix ];