diff --git a/ansible/roles/vscode/files/keybindings.json b/ansible/roles/vscode/files/keybindings.json index ed3b5d3..c1f75c7 100644 --- a/ansible/roles/vscode/files/keybindings.json +++ b/ansible/roles/vscode/files/keybindings.json @@ -188,5 +188,21 @@ "key": "ctrl+f", "command": "-actions.find", "when": "editorFocus || editorIsOpen" + }, + { + "key": "ctrl+shift+-", + "command": "undo" + }, + { + "key": "ctrl+z", + "command": "-undo" + }, + { + "key": "alt+x", + "command": "workbench.action.showCommands" + }, + { + "key": "ctrl+shift+p", + "command": "-workbench.action.showCommands" } ] \ No newline at end of file diff --git a/ansible/roles/vscode/files/settings.json b/ansible/roles/vscode/files/settings.json index 255c19b..375452d 100644 --- a/ansible/roles/vscode/files/settings.json +++ b/ansible/roles/vscode/files/settings.json @@ -1,17 +1,22 @@ { - "workbench.colorTheme": "Default High Contrast", - "remote.SSH.connectTimeout": 30, - "remote.SSH.enableDynamicForwarding": false, - "remote.SSH.enableAgentForwarding": false, - "remote.SSH.enableX11Forwarding": false, - "python.analysis.inlayHints.functionReturnTypes": true, - "python.analysis.inlayHints.variableTypes": true, - "editor.minimap.enabled": false, - "editor.fontSize": 12, - "editor.cursorStyle": "block", - "editor.fontFamily": "'Cascadia Mono', 'monospace', monospace", - "workbench.colorCustomizations": { - "editorCursor.foreground": "#ccff66", - "terminalCursor.foreground": "#ccff66" - } -} \ No newline at end of file + "application.shellEnvironmentResolutionTimeout": 90, + "workbench.colorTheme": "Default High Contrast", + "remote.SSH.connectTimeout": 30, + "remote.SSH.enableDynamicForwarding": false, + "remote.SSH.enableAgentForwarding": false, + "remote.SSH.enableX11Forwarding": false, + "python.analysis.inlayHints.functionReturnTypes": true, + "python.analysis.inlayHints.variableTypes": true, + "editor.minimap.enabled": false, + "editor.fontSize": 12, + "editor.cursorStyle": "block", + "editor.fontFamily": "'Cascadia Mono', 'monospace', monospace", + "workbench.colorCustomizations": { + "editorCursor.foreground": "#ccff66", + "terminalCursor.foreground": "#ccff66" + }, + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter", + "editor.formatOnSave": true + } +} diff --git a/ansible/roles/vscode/tasks/peruser_linux.yaml b/ansible/roles/vscode/tasks/peruser_linux.yaml index 0c96c1b..9ac53d3 100644 --- a/ansible/roles/vscode/tasks/peruser_linux.yaml +++ b/ansible/roles/vscode/tasks/peruser_linux.yaml @@ -26,7 +26,7 @@ copy: src: "files/{{ item.src }}" dest: "{{ account_homedir.stdout }}/{{ item.dest }}" - mode: 0600 + mode: 0644 owner: "{{ account_name.stdout }}" group: "{{ group_name.stdout }}" loop: diff --git a/router/launch_opnsense.bash b/router/launch_opnsense.bash index 0a11fb9..d50cca4 100644 --- a/router/launch_opnsense.bash +++ b/router/launch_opnsense.bash @@ -76,6 +76,7 @@ function start_vm { -c 6 \ -m 8G \ -H \ + -o 'rtc.use_localtime=false' \ -s 0,hostbridge \ -s "4,nvme,/dev/zvol/zroot/vm/opnsense/disk0" \ -S \ diff --git a/router/launch_unifi.bash b/router/launch_unifi.bash index 9537c65..4910cbb 100644 --- a/router/launch_unifi.bash +++ b/router/launch_unifi.bash @@ -75,8 +75,9 @@ function start_vm { bhyve \ -D \ -c 1 \ - -m 2G \ + -m 3G \ -H \ + -o 'rtc.use_localtime=false' \ -s 0,hostbridge \ -s "4,nvme,/dev/zvol/zroot/vm/unifi/disk0" \ -s 30,xhci,tablet \