fix: errors introduced by chatgpt

This commit is contained in:
Ryan Yin 2023-07-08 12:42:00 +08:00
parent 11e30d9088
commit d6cce1383e

View File

@ -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
@ -246,4 +241,4 @@ To customize the cache source, we must add the related configuration in `flake.n
}
```
After making the modifications, run `sudo nixos-rebuild switch` to apply the updates.
After making the modifications, run `sudo nixos-rebuild switch` to apply the updates.