Skip to content

Commit

Permalink
fix: make experimental-features a list
Browse files Browse the repository at this point in the history
This fixes the problem, that you cannot add to more experimental features in another config
  • Loading branch information
DavHau committed Feb 4, 2023
1 parent 238361f commit 9f325f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/common/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
nix.settings.connect-timeout = 5;

# Enable flakes
nix.settings.experimental-features = "nix-command flakes";
nix.settings.experimental-features = [
"nix-command"
"flakes"
];

# The default at 10 is rarely enough.
nix.settings.log-lines = lib.mkDefault 25;
Expand Down

0 comments on commit 9f325f5

Please sign in to comment.