Last active
January 28, 2023 05:03
-
-
Save waltermoreira/d37daa2c915817e8eccf600fc9299a56 to your computer and use it in GitHub Desktop.
Enable flakes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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