diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index c58bdfc..c6b3783 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -1,3 +1,9 @@ +[".nano"] + type = "archive" + url = "https://github.com/scopatz/nanorc/releases/download/2020.10.10/nanorc-2020.10.10.tar.gz" + stripComponents = 1 + include = ["*/*.nanorc"] + [".local/bin/n"] type = "file" url = "https://raw.githubusercontent.com/tj/n/master/bin/n" diff --git a/.chezmoiignore b/.chezmoiignore new file mode 100644 index 0000000..aa15e92 --- /dev/null +++ b/.chezmoiignore @@ -0,0 +1,2 @@ +settings.json +symlinks diff --git a/dot_config/private_VSCodium/User/settings.json b/dot_config/private_VSCodium/User/settings.json deleted file mode 100644 index e536218..0000000 --- a/dot_config/private_VSCodium/User/settings.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "breadcrumbs.enabled": true, - "editor.bracketPairColorization.enabled": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", - "editor.guides.bracketPairs": "active", - "editor.inlineSuggest.enabled": true, - "editor.linkedEditing": true, - "editor.minimap.enabled": false, - "editor.quickSuggestions": { - "comments": false - }, - "editor.renderWhitespace": "boundary", - "editor.rulers": [80, 120], - "editor.tabCompletion": "on", - "editor.wrappingIndent": "deepIndent", - "editor.unicodeHighlight.ambiguousCharacters": false, - "extensions.ignoreRecommendations": true, - "files.trimFinalNewlines": true, - "files.trimTrailingWhitespace": true, - "prettier.resolveGlobalModules": true, - "workbench.editor.closeOnFileDelete": true, - "workbench.editor.enablePreview": false, - "workbench.editor.enablePreviewFromQuickOpen": false, - "workbench.startupEditor": "none", - - "telemetry.telemetryLevel": "off", - "update.mode": "none", - "workbench.enableExperiments": false, - - "diffEditor.ignoreTrimWhitespace": false, - "git.autofetch": true, - "git.confirmSync": false, - "git.enableCommitSigning": true, - "git.enableSmartCommit": true, - "git.inputValidation": "always", - "git.inputValidationLength": 75, - "git.inputValidationSubjectLength": null, - - "explorer.confirmDelete": false, - "explorer.confirmDragAndDrop": false, - "files.exclude": { - "**/tmp/**": true, - "**/node_modules/**": true, - "**/.sif": true, - "**/.sif.**/**": true, - "**/.git/objects/**": true, - "**/.git": true, - "**/.svn": true, - "**/.hg": true, - "**/CVS": true, - "**/.DS_Store": true - }, - "files.insertFinalNewline": true, - "search.smartCase": true, - "search.followSymlinks": false, - "search.exclude": { - "**/node_modules": true, - "**/bower_components": true, - "**/*.code-search": true, - "**/tmp/**": true, - "**/dist/**": true, - "**/*.sif/**": true, - "**/.git/objects/**": true, - "**/.git/subtree-cache/**": true - }, - "security.workspace.trust.enabled": false, - "files.watcherExclude": { - "**/.git/objects/**": true, - "**/.git/subtree-cache/**": true, - "**/node_modules/*/**": true, - "**/.hg/store/**": true, - "**/.nextflow/**": true, - "**/work/**": true - }, - - "editor.fontFamily": "Fira Code", - "editor.fontLigatures": true, - "window.menuBarVisibility": "visible", - "window.zoomLevel": -1, - "workbench.colorTheme": "Default Dark+", - "workbench.iconTheme": "vscode-great-icons", - - "terminal.integrated.allowChords": false, - "terminal.integrated.cursorBlinking": true, - "terminal.integrated.cursorStyle": "line", - "terminal.integrated.defaultProfile.windows": "Cmder", - "terminal.integrated.fontFamily": "'MesloLGS NF'", - "terminal.integrated.persistentSessionReviveProcess": "never", - "terminal.integrated.gpuAcceleration": "off", - "terminal.integrated.profiles.windows": { - "Cmder": { - "path": [ - "${env:windir}\\Sysnative\\cmd.exe", - "${env:windir}\\System32\\cmd.exe" - ], - "env": { - "CMDER_ROOT": "C:\\tools\\Cmder" - }, - "args": ["/k", "%CMDER_ROOT%\\vendor\\bin\\vscode_init.cmd"] - }, - "PowerShell": { - "source": "PowerShell", - "icon": "terminal-powershell" - }, - "Command Prompt": { - "path": [ - "${env:windir}\\Sysnative\\cmd.exe", - "${env:windir}\\System32\\cmd.exe" - ], - "args": [], - "icon": "terminal-cmd" - }, - "Git Bash": { - "source": "Git Bash" - } - }, - "terminal.integrated.defaultProfile.linux": "zsh", - "terminal.integrated.profiles.linux": { - "bash": { - "path": "bash" - }, - "zsh": { - "path": "zsh" - }, - "fish": { - "path": "fish" - }, - "tmux": { - "path": "tmux", - "icon": "terminal-tmux" - }, - "screen": { - "path": "screen", - "icon": "terminal-tmux" - }, - "pwsh": { - "path": "pwsh", - "icon": "terminal-powershell" - } - }, - "terminal.external.windowsExec": "C:\\Tools\\Cmder\\cmder.exe", - "terminal.external.linuxExec": "yakuake", - - "[shellscript]": { - "files.eol": "\n", - "editor.tabSize": 2, - "files.insertFinalNewline": true, - "files.trimFinalNewlines": true, - "files.trimTrailingWhitespace": true, - "editor.rulers": [80, 92, 120] - }, - "shellcheck.customArgs": ["-x"], - - "[html]": { - "editor.tabSize": 2 - }, - - "[javascript]": { - "editor.tabSize": 2 - }, - - "[json]": { - "editor.tabSize": 2 - }, - - "[julia]": { - "editor.detectIndentation": false, - "editor.insertSpaces": true, - "editor.tabSize": 4, - "files.insertFinalNewline": true, - "files.trimFinalNewlines": true, - "files.trimTrailingWhitespace": true, - "editor.rulers": [92], - "editor.defaultFormatter": "julialang.language-julia" - }, - "julia.enableCrashReporter": false, - "julia.enableTelemetry": false, - "julia.NumThreads": 8, - "julia.symbolCacheDownload": true, - "terminal.integrated.commandsToSkipShell": ["language-julia.interrupt"], - - "latex-workshop.view.pdf.viewer": "tab", - - "[markdown]": { - "editor.tabSize": 2 - }, - "files.associations": { - "README": "markdown" - }, - "markdown-preview-github-styles.colorTheme": "light", - - "[nextflow]": { - "editor.rulers": [80, 84, 120] - }, - - "[python]": { - "editor.rulers": [72, 79, 99] - }, - "python.formatting.provider": "black", - "python.formatting.blackPath": "black", - - "[r]": { - "editor.defaultFormatter": "Ikuyadeu.r" - }, - - "[typescript]": { - "editor.tabSize": 2 - }, - - "[yaml]": { - "editor.tabSize": 2 - }, - "redhat.telemetry.enabled": false, - - "sync.autoDownload": true, - "sync.gist": "ac23d90cbe13499f59ed319c101b4b13", - "sync.quietSync": true, - "workbench.editorAssociations": { - "*.pdf": "latex-workshop-pdf-hook" - }, - "terminal.integrated.tabs.title": "${cwdFolder}${separator}${process}" - } diff --git a/dot_config/private_VSCodium/User/symlink_settings.json.tmpl b/dot_config/private_VSCodium/User/symlink_settings.json.tmpl new file mode 100644 index 0000000..1127a87 --- /dev/null +++ b/dot_config/private_VSCodium/User/symlink_settings.json.tmpl @@ -0,0 +1 @@ +{{ .chezmoi.sourceDir }}/settings.json diff --git a/dot_config/private_konsolerc b/dot_config/private_konsolerc deleted file mode 100644 index 7f417e8..0000000 --- a/dot_config/private_konsolerc +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -DefaultProfile=My Default.profile - -[MainWindow] -StatusBar=Disabled -ToolBarsMovable=Disabled - -[UiSettings] -ColorScheme=Default diff --git a/dot_config/symlink_private_konsolerc.tmpl b/dot_config/symlink_private_konsolerc.tmpl new file mode 100644 index 0000000..2dcbab9 --- /dev/null +++ b/dot_config/symlink_private_konsolerc.tmpl @@ -0,0 +1 @@ +{{ .chezmoi.sourceDir }}/symlinks/dot_config/konsolerc diff --git a/dot_nanorc.tmpl b/dot_nanorc.tmpl new file mode 100644 index 0000000..08ee2d0 --- /dev/null +++ b/dot_nanorc.tmpl @@ -0,0 +1,19 @@ +{{- if or + (eq .machinetype "workstation") + (eq .chezmoi.osRelease.id "fedora") + (and (eq .chezmoi.osRelease.id "almalinux" "centos" "rhel") (gt (atoi .chezmoi.osRelease.versionID) 7)) + (and (eq .chezmoi.osRelease.id "debian") (gt (atoi .chezmoi.osRelease.versionID) 9 )) -}} +set linenumbers +set titlecolor bold,lightwhite,blue +set promptcolor lightwhite,lightblack +set statuscolor bold,lightwhite,green +set errorcolor bold,lightwhite,red +set spotlightcolor black,lime +set selectedcolor lightwhite,magenta +set stripecolor ,yellow +set scrollercolor cyan +set numbercolor lightwhite,lightblack +set keycolor cyan +set functioncolor green +include ~/.nano/*.nanorc +{{- end }} diff --git a/private_dot_ssh/config.tmpl b/private_dot_ssh/config.tmpl deleted file mode 100644 index ca7432b..0000000 --- a/private_dot_ssh/config.tmpl +++ /dev/null @@ -1,32 +0,0 @@ -Host * - IdentitiesOnly yes - IdentityFile {{ if and (eq .machinetype "workstation") (ne .chezmoi.os "windows") }}~/.ssh/id_rsa_yubikey.pub{{ else }}~/.ssh/id_ed25519.pub{{ end }} - -Host aahz - HostName 129.130.108.37 - User tchristensen - -Host skeeve - HostName 129.130.108.157 - User tchristensen - -Host ceres - HostName ceres.scinet.usda.gov - User thomas.christensen - TCPKeepAlive yes - ServerAliveInterval 20 - ServerAliveCountMax 30 - IdentitiesOnly no - -Host atlas - HostName Atlas-login-1.hpc.msstate.edu - User thomas.christensen - TCPKeepAlive yes - ServerAliveInterval 20 - ServerAliveCountMax 30 - IdentitiesOnly no - -Host atlas-dtn - HostName Atlas-dtn.hpc.msstate.edu - User thomas.christensen - IdentitiesOnly no diff --git a/private_dot_ssh/private_id_rsa_yubikey.pub b/private_dot_ssh/private_id_rsa_yubikey.pub deleted file mode 100644 index b381025..0000000 --- a/private_dot_ssh/private_id_rsa_yubikey.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDVBH9pG48bCNgULtWwUYu3JCIlRXrRTR/vszgmDm5cu30fFvHvgcOp8yojdB9IjIjdTNF7HtOuzWUVdEk8acTVRQwBOV5u4OPtb6BXJR77mQDgciB2lO3IAKLr7ePxQx/cqSzB3eU947tsJ4Ww/Fx6ZSnKWjOU8L2yrbdj84FyWK3941de2DRSxF5N/DkhztrYu+M20Gm+yb44pKv4QqSzNVB259irTJm1LrlRaa2lF4WeJUM2dAv86l/tmtYsjKZNbzERnMuNl1c5yaIacLvw5t98Bh6nJWu3YYtPz6aEFNDfUp4JtAFHFXS96Xn+woqrXF3YjDIl2RuPBIH8rmIf4dGALuDjneDcNbX95g3IEW350gzyAJgbxwEA9Tw85QT+g+ZBvgEkze9vXIXPsGh8Dhte5ctpfDPCvRYzPrLhf7tydOQx9l6HFofzsnrnCV2CZtIyH1wniCjRnO55gup6TDNMLHZbNsg+oj3eNeNZFsuMGv3PWyVrfIJqutQGJZWvwNky6oz/BIN95WKbPvenvJ8oA7R77kUP6PYBvWvKCJa86sE5QjkxzvGe+uQkfcm5OXtlgige+pulFGTk4gKtEM6X4xFqEcz16btycAA7aOKeMMgnS8budB9TW31tP00AVsbwSmB5DQQ0X+jDpoJaMl9Fovc2mT8DpaqwT8+l9w== cardno:18 319 764 diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..c4303ed --- /dev/null +++ b/settings.json @@ -0,0 +1,222 @@ +{ + "breadcrumbs.enabled": true, + "editor.bracketPairColorization.enabled": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.guides.bracketPairs": "active", + "editor.inlineSuggest.enabled": true, + "editor.linkedEditing": true, + "editor.minimap.enabled": false, + "editor.quickSuggestions": { + "comments": false + }, + "editor.renderWhitespace": "boundary", + "editor.rulers": [80, 120], + "editor.tabCompletion": "on", + "editor.wrappingIndent": "deepIndent", + "editor.unicodeHighlight.ambiguousCharacters": false, + "extensions.ignoreRecommendations": true, + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "prettier.resolveGlobalModules": true, + "workbench.editor.closeOnFileDelete": true, + "workbench.editor.enablePreview": false, + "workbench.editor.enablePreviewFromQuickOpen": false, + "workbench.startupEditor": "none", + + "telemetry.telemetryLevel": "off", + "update.mode": "none", + "workbench.enableExperiments": false, + + "diffEditor.ignoreTrimWhitespace": false, + "git.autofetch": true, + "git.confirmSync": false, + "git.enableCommitSigning": true, + "git.enableSmartCommit": true, + "git.inputValidation": "always", + "git.inputValidationLength": 75, + "git.inputValidationSubjectLength": null, + + "explorer.confirmDelete": false, + "explorer.confirmDragAndDrop": false, + "files.exclude": { + "**/tmp/**": true, + "**/node_modules/**": true, + "**/.sif": true, + "**/.sif.**/**": true, + "**/.git/objects/**": true, + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true + }, + "files.insertFinalNewline": true, + "search.smartCase": true, + "search.followSymlinks": false, + "search.exclude": { + "**/node_modules": true, + "**/bower_components": true, + "**/*.code-search": true, + "**/tmp/**": true, + "**/dist/**": true, + "**/*.sif/**": true, + "**/.git/objects/**": true, + "**/.git/subtree-cache/**": true + }, + "security.workspace.trust.enabled": false, + "files.watcherExclude": { + "**/.git/objects/**": true, + "**/.git/subtree-cache/**": true, + "**/node_modules/*/**": true, + "**/.hg/store/**": true, + "**/.nextflow/**": true, + "**/work/**": true + }, + + "editor.fontFamily": "Fira Code", + "editor.fontLigatures": true, + "window.menuBarVisibility": "visible", + "window.zoomLevel": -1, + "workbench.colorTheme": "Default Dark+", + "workbench.iconTheme": "vscode-great-icons", + + "terminal.integrated.allowChords": false, + "terminal.integrated.cursorBlinking": true, + "terminal.integrated.cursorStyle": "line", + "terminal.integrated.defaultProfile.windows": "Cmder", + "terminal.integrated.fontFamily": "'MesloLGS NF'", + "terminal.integrated.persistentSessionReviveProcess": "never", + "terminal.integrated.gpuAcceleration": "off", + "terminal.integrated.profiles.windows": { + "Cmder": { + "path": [ + "${env:windir}\\Sysnative\\cmd.exe", + "${env:windir}\\System32\\cmd.exe" + ], + "env": { + "CMDER_ROOT": "C:\\tools\\Cmder" + }, + "args": ["/k", "%CMDER_ROOT%\\vendor\\bin\\vscode_init.cmd"] + }, + "PowerShell": { + "source": "PowerShell", + "icon": "terminal-powershell" + }, + "Command Prompt": { + "path": [ + "${env:windir}\\Sysnative\\cmd.exe", + "${env:windir}\\System32\\cmd.exe" + ], + "args": [], + "icon": "terminal-cmd" + }, + "Git Bash": { + "source": "Git Bash" + } + }, + "terminal.integrated.defaultProfile.linux": "zsh", + "terminal.integrated.profiles.linux": { + "bash": { + "path": "bash" + }, + "zsh": { + "path": "zsh" + }, + "fish": { + "path": "fish" + }, + "tmux": { + "path": "tmux", + "icon": "terminal-tmux" + }, + "screen": { + "path": "screen", + "icon": "terminal-tmux" + }, + "pwsh": { + "path": "pwsh", + "icon": "terminal-powershell" + } + }, + "terminal.external.windowsExec": "C:\\Tools\\Cmder\\cmder.exe", + "terminal.external.linuxExec": "yakuake", + + "[shellscript]": { + "files.eol": "\n", + "editor.tabSize": 2, + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "editor.rulers": [80, 92, 120] + }, + "shellcheck.customArgs": ["-x"], + + "[html]": { + "editor.tabSize": 2 + }, + + "[javascript]": { + "editor.tabSize": 2 + }, + + "[json]": { + "editor.tabSize": 2 + }, + + "[julia]": { + "editor.detectIndentation": false, + "editor.insertSpaces": true, + "editor.tabSize": 4, + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "editor.rulers": [92], + "editor.defaultFormatter": "julialang.language-julia" + }, + "julia.enableCrashReporter": false, + "julia.enableTelemetry": false, + "julia.NumThreads": 8, + "julia.symbolCacheDownload": true, + "terminal.integrated.commandsToSkipShell": ["language-julia.interrupt"], + + "latex-workshop.view.pdf.viewer": "tab", + + "[markdown]": { + "editor.tabSize": 2 + }, + "files.associations": { + "README": "markdown" + }, + "markdown-preview-github-styles.colorTheme": "light", + + "[nextflow]": { + "editor.rulers": [80, 84, 120] + }, + + "[python]": { + "editor.rulers": [72, 79, 99] + }, + "python.formatting.provider": "black", + "python.formatting.blackPath": "black", + + "[r]": { + "editor.defaultFormatter": "Ikuyadeu.r" + }, + + "[typescript]": { + "editor.tabSize": 2 + }, + + "[yaml]": { + "editor.tabSize": 2 + }, + "redhat.telemetry.enabled": false, + + "sync.autoDownload": true, + "sync.gist": "ac23d90cbe13499f59ed319c101b4b13", + "sync.quietSync": true, + "workbench.editorAssociations": { + "*.pdf": "latex-workshop-pdf-hook" + }, + "terminal.integrated.tabs.title": "${cwdFolder}${separator}${process}" +} diff --git a/symlinks/dot_config/konsolerc b/symlinks/dot_config/konsolerc new file mode 100644 index 0000000..6e6b4ce --- /dev/null +++ b/symlinks/dot_config/konsolerc @@ -0,0 +1,17 @@ +[Desktop Entry] +DefaultProfile=My Default.profile + +[MainWindow] +DP-1 DP-2 Height 1920x1080=955 +DP-1 DP-2 Width 1920x1080=1607 +DP-1 DP-2 Window-Maximized 1920x1080=true +DisplayPort-0 DisplayPort-1 Height 1920x1080=634 +DisplayPort-0 DisplayPort-1 Width 1920x1080=1108 +DisplayPort-0 DisplayPort-1 XPosition 1920x1080=2468 +DisplayPort-0 DisplayPort-1 YPosition 1920x1080=276 +State=AAAA/wAAAAD9AAAAAQAAAAAAAAAAAAAAAPwCAAAAAvsAAAAcAFMAUwBIAE0AYQBuAGEAZwBlAHIARABvAGMAawAAAAAA/////wAAANMBAAAD+wAAACIAUQB1AGkAYwBrAEMAbwBtAG0AYQBuAGQAcwBEAG8AYwBrAAAAAAD/////AAAArQEAAAMAAAeAAAADowAAAAQAAAAEAAAACAAAAAj8AAAAAQAAAAIAAAACAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAAAAABwAcwBlAHMAcwBpAG8AbgBUAG8AbwBsAGIAYQByAQAAAN//////AAAAAAAAAAA= +StatusBar=Disabled +ToolBarsMovable=Disabled + +[UiSettings] +ColorScheme=