Skip to content

Commit

Permalink
readme: Simplify flakes instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored and MattSturgeon committed Jul 17, 2024
1 parent b9ed900 commit ff6ad12
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ system. To enable flakes, add this to `/etc/nixos/configuration.nix`
{ pkgs, lib, ... }:
{
nix = {
package = pkgs.nixFlakes;
extraOptions = lib.optionalString (config.nix.package == pkgs.nixFlakes)
"experimental-features = nix-command flakes";
settings.experimental-features = [ "nix-command" "flakes" ];
};
}
```
Expand Down

0 comments on commit ff6ad12

Please sign in to comment.