Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove specific vboxsf group from the common configuration. #41

Merged
merged 1 commit into from Jan 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/builders/virtualbox-iso.nix
Expand Up @@ -2,5 +2,7 @@
{
# Enable guest additions.
virtualisation.virtualbox.guest.enable = true;
}

# Add vboxsf group to the vagrant user
users.users.vagrant.extraGroups = [ "vboxsf" ];
}
6 changes: 3 additions & 3 deletions scripts/configuration.nix
Expand Up @@ -15,7 +15,7 @@
boot.loader.grub.device = "/dev/sda";

# remove the fsck that runs at startup. It will always fail to run, stopping
# your boot until you press *.
# your boot until you press *.
boot.initrd.checkJournalingFS = false;

# Services to enable:
Expand Down Expand Up @@ -43,15 +43,15 @@

# Creates a "vagrant" users with password-less sudo access
users = {
extraGroups = [ { name = "vagrant"; } { name = "vboxsf"; } ];
extraGroups = [ { name = "vagrant"; } ];
extraUsers = [
# Try to avoid ask password
{ name = "root"; password = "vagrant"; }
{
description = "Vagrant User";
name = "vagrant";
group = "vagrant";
extraGroups = [ "users" "vboxsf" "wheel" ];
extraGroups = [ "users" "wheel" ];
password = "vagrant";
home = "/home/vagrant";
createHome = true;
Expand Down