Skip to content
Snippets Groups Projects
Commit 41bf2b22 authored by Maël Madon's avatar Maël Madon
Browse files

add explaining comments in script files

parent d066438d
Branches
Tags
No related merge requests found
# To save the nix cache in a file, for future use
# (usefull when working in Grid'5000)
nix-store --query --references $(nix-instantiate default.nix) | \ nix-store --query --references $(nix-instantiate default.nix) | \
xargs nix-store --realise | \ xargs nix-store --realise | \
xargs nix-store --query --requisites | \ xargs nix-store --query --requisites | \
......
...@@ -4,4 +4,8 @@ sudo-g5k ...@@ -4,4 +4,8 @@ sudo-g5k
sudo su root --command "echo 1 > /proc/sys/kernel/unprivileged_userns_clone" sudo su root --command "echo 1 > /proc/sys/kernel/unprivileged_userns_clone"
curl https://nixos.org/releases/nix/nix-2.6.0/install | sh curl https://nixos.org/releases/nix/nix-2.6.0/install | sh
source ${HOME}/.nix-profile/etc/profile.d/nix.sh source ${HOME}/.nix-profile/etc/profile.d/nix.sh
nix-store --import < cache_nix
# Uncomment the line below if you want to import the nix cache from a file
# (useful when working in Grid'5000)
# nix-store --import < cache_nix
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment