Better nix flake configuration

This commit is contained in:
Filippo Berto 2022-10-04 14:44:56 +02:00
parent 4627af9181
commit 4fca5c8cb1
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
6 changed files with 22 additions and 48 deletions

View file

@ -285,11 +285,6 @@ with lib; {
steam = pkgs.steam.override { extraPkgs = pkgs: with pkgs; [ icu ]; };
};
};
nix = {
package = pkgs.nixFlakes;
extraOptions = lib.optionalString (config.nix.package == pkgs.nixFlakes)
"experimental-features = nix-command flakes";
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions