pkgbuilds/base/parch-nix/nix.install

11 lines
377 B
Text
Raw Permalink Normal View History

2024-06-08 11:07:21 +03:30
post_install() {
systemctl enable nix-daemon.service
systemctl start nix-daemon.service
echo "Run this commands after installing nix"
echo "sudo usermod -aG nix-users \$(whoami)"
echo "Reboot so that the above changes take effect then run this:"
echo "nix-channel --add https://nixos.org/channels/nixpkgs-unstable"
echo "nix-channel --update"
echo "Happy hacking :)"
}