Unverified Commit 33989ddd authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

.devcontainer: add commands to adjust permissions under Codespaces (#386690)

parents dee2b14c 736e9ff0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -10,6 +10,10 @@
      "extraNixConfig": "experimental-features = nix-command flakes,sandbox = true"
    }
  },
  // Fixup permissions inside container.
  // https://github.com/NixOS/nix/issues/6680#issuecomment-1230902525
  "postCreateCommand": "sudo apt-get install -y acl",
  "postStartCommand": "sudo setfacl -k /tmp; if [ -e /dev/kvm ]; then sudo chgrp $(id -g) /dev/kvm; fi",
  "customizations": {
    "vscode": {
      "extensions": [