Commit graph

6 commits

Author SHA1 Message Date
Arne Keller
33989ddd47
.devcontainer: add commands to adjust permissions under Codespaces (#386690) 2025-05-06 12:20:24 +02:00
Kenichi Kamiya
1a7bf6808c
.devcontainer: clarify the formatter is nixfmt-rfc-style 2025-04-07 01:15:39 +09:00
Kenichi Kamiya
b1a549d4fa
.devcontainer: apply nixfmt-rfc-style on save
formatterPath does not support the specifier "nixfmt-rfc-style"

92fdb077e9/package.json (L76-L85)

Currently it is just ignored,
because of we are setting LSP.

92fdb077e9/README.md (L63)

This commit removes the unused config
and enables auto formatter on save.
2025-04-06 23:52:51 +09:00
Ratchanan Srirattanamet
736e9ff05c .devcontainer: add commands to adjust permissions under Codespaces
This commit does 2 things:

- Remove "default permission" from ACL table of /tmp. This is to prevent
  "error: suspicious ownership or permission on '<...>' for output
  'out'; rejecting this build output" error. See:
  https://github.com/NixOS/nix/issues/6680#issuecomment-1230902525
- Set permission of /dev/kvm so that it can be used by NixOS tests.

Note that this is tested on GitHub Codespaces only; I'm not sure how
VSCode's local devcontainer handling will react. Although I've added a
guard code in case /dev/kvm does not exist in that environment.
2025-03-03 11:31:54 +00:00
Arne Keller
e9c59776b3 .devcontainer: tweaks 2025-01-13 16:35:04 +01:00
Iavael
227c0926cf Add devcontainer config 2022-11-17 13:12:00 +00:00