Skip to content

Commit ff6ad12

Browse files
SuperSandro2000MattSturgeon
authored andcommitted
readme: Simplify flakes instructions
1 parent b9ed900 commit ff6ad12

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ system. To enable flakes, add this to `/etc/nixos/configuration.nix`
133133
{ pkgs, lib, ... }:
134134
{
135135
nix = {
136-
package = pkgs.nixFlakes;
137-
extraOptions = lib.optionalString (config.nix.package == pkgs.nixFlakes)
138-
"experimental-features = nix-command flakes";
136+
settings.experimental-features = [ "nix-command" "flakes" ];
139137
};
140138
}
141139
```

0 commit comments

Comments
 (0)