Install NixOS on Kimsufi: Difference between revisions

imported>Joscherrer
m Add command to disable sandboxing. Create /etc/sudoers.d/setupuser instead on modifying /etc/sudoers
imported>Joscherrer
m Create setupuser before the nixbld user so it doesn't take the uid 30001
Line 37: Line 37:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# Create a user for the install process
useradd -m setupuser
# Create a user for the Nix daemon
# Create a user for the Nix daemon
groupadd -g 30000 nixbld
groupadd -g 30000 nixbld
useradd -u 30000 -g nixbld -G nixbld nixbld
useradd -u 30000 -g nixbld -G nixbld nixbld
useradd -m setupuser


# Set this to something you will remember, you'll need it in a moment
# Set this to something you will remember, you'll need it in a moment