mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
disko2: Add rudimentary plan generation
This commit is contained in:
1 parent
6651792c28
commit
cfcc518b70
28 files changed
+1191
-609
No files matched your search
Vendored
+63
-48
@@ -1,50 +1,65 @@
|
||||
{
|
||||
// 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",
|
||||
"module": "disko",
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"mount",
|
||||
"example/simple-efi.nix"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disko2 mount flake",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "disko",
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"mount",
|
||||
"--flake",
|
||||
".#testmachine"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disko2 generate",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "disko",
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"generate",
|
||||
]
|
||||
}
|
||||
]
|
||||
// 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",
|
||||
"module": "disko",
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"mount",
|
||||
"example/simple-efi.nix"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disko2 mount flake",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "disko",
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"mount",
|
||||
"--flake",
|
||||
".#testmachine"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disko2 generate",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "disko",
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"generate"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disko2 destroy,format,mount dry-run",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "disko",
|
||||
"env": {
|
||||
"PYTHONPATH": "${workspaceFolder}/src"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"args": [
|
||||
"destroy,format,mount",
|
||||
"--dry-run",
|
||||
"disko-config.nix"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+6
-1
@@ -18,5 +18,10 @@
|
||||
"python.analysis.extraPaths": [
|
||||
"./src"
|
||||
],
|
||||
"mypy-type-checker.importStrategy": "fromEnvironment"
|
||||
"mypy-type-checker.importStrategy": "fromEnvironment",
|
||||
"python.testing.pytestArgs": [
|
||||
"tests"
|
||||
],
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.pytestEnabled": true
|
||||
}
|
||||
Reference in new issue
Block a user