mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
Error handling could be done better, but I'm pretty happy with it already. The important part is aggregating all errors instead of failing on the first issue we encounter.
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "disko2 mount disko_file",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/disko2",
|
|
"console": "integratedTerminal",
|
|
"args": [
|
|
"mount",
|
|
"example/simple-efi.nix"
|
|
]
|
|
},
|
|
{
|
|
"name": "disko2 mount flake",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/disko2",
|
|
"console": "integratedTerminal",
|
|
"args": [
|
|
"mount",
|
|
"--flake",
|
|
".#testmachine"
|
|
]
|
|
},
|
|
{
|
|
"name": "disko2 generate",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/disko2",
|
|
"console": "integratedTerminal",
|
|
"args": [
|
|
"generate",
|
|
]
|
|
}
|
|
]
|
|
} |