mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
.devcontainer: add commands to adjust permissions under Codespaces (#386690)
This commit is contained in:
commit
33989ddd47
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
||||||
"extraNixConfig": "experimental-features = nix-command flakes,sandbox = true"
|
"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": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"extensions": [
|
"extensions": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue