diff options
| author | Arne Keller <arne.keller@posteo.de> | 2025-05-06 12:20:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-06 12:20:24 +0200 |
| commit | 33989ddd4799cabfe2716a1ef718fd49795bf306 (patch) | |
| tree | 4a84a8d48a1af82df4ea53c41154fced4c1fb347 /.devcontainer | |
| parent | tidal-hifi: add missing exec in desktop entry (#404034) (diff) | |
| parent | .devcontainer: add commands to adjust permissions under Codespaces (diff) | |
| download | nixpkgs-33989ddd4799cabfe2716a1ef718fd49795bf306.tar.gz | |
.devcontainer: add commands to adjust permissions under Codespaces (#386690)
Diffstat (limited to '.devcontainer')
| -rw-r--r-- | .devcontainer/devcontainer.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e9c1c3ed60c3..dfcfce92d1bd 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": [ |
