エラー内容

$ nix flake
error: experimental Nix feature 'nix-command' is disabled; add '--extra-experimental-features nix-command' to enable it

解決方法

~/.config/nixに以下を書き込む。

experimental-features = nix-command flakes

参考

[Nixを使って共有できる開発環境を作ろう 学生たちの技術ブログ](https://students-tech.blog/post/nix-develop)