mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2024-12-30 18:48:50 +01:00
fix: errors introduced by chatgpt
This commit is contained in:
parent
11e30d9088
commit
d6cce1383e
@ -21,12 +21,7 @@ However, as Flakes is still an experimental feature, it is not enabled by defaul
|
||||
# Omit the previous configuration...
|
||||
|
||||
# Enable Flakes and the new command-line tool
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Flakes use Git to pull dependencies from data sources, so Git must be installed first
|
||||
|
Loading…
Reference in New Issue
Block a user