Skip to content

Instantly share code, notes, and snippets.

@waltermoreira
Last active January 28, 2023 05:03
Show Gist options
  • Save waltermoreira/d37daa2c915817e8eccf600fc9299a56 to your computer and use it in GitHub Desktop.
Save waltermoreira/d37daa2c915817e8eccf600fc9299a56 to your computer and use it in GitHub Desktop.
Enable flakes
#!/bin/sh
# Enable experimental flake support in Nix.
#
# Use this with:
#
# sh <(curl https://gist.githubusercontent.com/waltermoreira/d37daa2c915817e8eccf600fc9299a56/raw/enable-flakes.sh)
{
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes repl-flake" >> ~/.config/nix/nix.conf
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment