diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2025-10-26 12:20:30 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2025-10-26 12:20:30 -0500 |
| commit | 951d2db39233dff8b2a8f3e59fec216f97c1c268 (patch) | |
| tree | 3504efd2442d739b4c06e433e99a14ded7f657bd | |
| parent | b37d5def4621a502c6697183300d41bd7a624c2e (diff) | |
big cleanup
| -rw-r--r-- | ghostty/config | 8 | ||||
| -rw-r--r-- | git/dotgitconfig | 8 | ||||
| -rwxr-xr-x | git/push-b7j0c | 2 | ||||
| -rw-r--r-- | gnupg/gpg-agent.conf | 4 | ||||
| -rw-r--r-- | helix/config.toml | 23 | ||||
| -rw-r--r-- | helix/languages.toml | 38 | ||||
| -rw-r--r-- | helix/themes/brad.toml | 138 | ||||
| -rw-r--r-- | infra/git/config | 25 | ||||
| -rw-r--r-- | kitty/kitty.conf | 22 | ||||
| -rwxr-xr-x | nspawn/make-grokloc-container.sh | 2 | ||||
| -rw-r--r-- | raku/justfile | 29 | ||||
| -rw-r--r-- | ssh/sshd_config | 5 | ||||
| -rw-r--r-- | tarsnap/daily_tarsnap.pl | 37 | ||||
| -rw-r--r-- | tarsnap/delete_tarsnap.pl | 38 |
14 files changed, 17 insertions, 362 deletions
diff --git a/ghostty/config b/ghostty/config deleted file mode 100644 index 64ce069..0000000 --- a/ghostty/config +++ /dev/null @@ -1,8 +0,0 @@ -background = 000000 -foreground = ffffff -font-family = "Fira-Code" -font-size = 26 -fullscreen = true -shell-integration-features = no-cursor -cursor-style = block -cursor-style-blink = false diff --git a/git/dotgitconfig b/git/dotgitconfig index 5e96d52..1193e09 100644 --- a/git/dotgitconfig +++ b/git/dotgitconfig @@ -18,14 +18,6 @@ email = brad@b7j0c.org signingkey = B1C1F1462CE76E5F2D994FB3D817E42DCCB5AB08 -[sendemail] - smtpserver = smtp.fastmail.com - smtpuser = clawsie@fastmail.fm - smtpencryption = ssl - smtpserverport = 465 - smtppass = ly3jly2fmmlwt92g - confirm = auto - [pull] ff = only diff --git a/git/push-b7j0c b/git/push-b7j0c index 1cc2b54..e13e95a 100755 --- a/git/push-b7j0c +++ b/git/push-b7j0c @@ -1,2 +1,2 @@ #!/bin/sh -git push github master; git push gitlab master; git push b7j0c master; git push sr.ht master; git push codeberg master +git push github master; git push b7j0c master; git push sr.ht master; git push codeberg master diff --git a/gnupg/gpg-agent.conf b/gnupg/gpg-agent.conf index f4e997b..95a5f53 100644 --- a/gnupg/gpg-agent.conf +++ b/gnupg/gpg-agent.conf @@ -4,7 +4,3 @@ max-cache-ttl-ssh 60480000 default-cache-ttl-ssh 60480000 allow-emacs-pinentry pinentry-program /usr/bin/pinentry-curses - - - - diff --git a/helix/config.toml b/helix/config.toml deleted file mode 100644 index 26caa02..0000000 --- a/helix/config.toml +++ /dev/null @@ -1,23 +0,0 @@ -theme = "brad" - -[editor] -shell = ["fish", "-c"] -auto-save = true -gutters = ["diagnostics", "diff"] - -[editor.file-picker] -hidden = false - -[editor.soft-wrap] -enable = true - -[keys.normal] -0 = "goto_line_start" -"$" = "goto_line_end" -G = "goto_file_end" -C-s = ":w" - -[keys.select] -0 = "goto_line_start" -"$" = "goto_line_end" -G = "goto_file_end" diff --git a/helix/languages.toml b/helix/languages.toml deleted file mode 100644 index 4dbbdfa..0000000 --- a/helix/languages.toml +++ /dev/null @@ -1,38 +0,0 @@ -[[language]] -name = "dockerfile" -file-types = ["Dockerfile", "Dockerfile.base", "Dockerfile.dev"] - -[[language]] -name = "go" -roots = ["go.work", "go.mod"] -auto-format = true -comment-token = "//" -language-servers = [ "gopls"] - -[language-server.gopls] -command = "gopls" -config = { "gofumpt" = true, "local" = "goimports", "semanticTokens" = true, "staticcheck" = true, "verboseOutput" = true, "analyses" = { "nilness" = true, unusedparams = true, unusedwrite = true, useany = true }, usePlaceholders = true, completeUnimported = true, hints = { "assignVariableType" = true, "compositeLiteralFields" = true, "compositeLiteralTypes" = true, "constantValues" = true, "functionTypeParameters" = true, "parameterNames" = true, "rangeVariableTypes" = true } } - -[[language]] -name = "perl" -scope = "source.perl" -file-types = ["pl", "pm", "t", "psgi", "raku", "rakumod", "rakutest", "rakudoc", "nqp", "p6", "pl6", "pm6"] -shebangs = ["perl"] -comment-token = "#" -# language-servers = [ "perlnavigator" ] -indent = { tab-width = 2, unit = " " } - -[[grammar]] -name = "perl" -source = { git = "https://github.com/tree-sitter-perl/tree-sitter-perl", rev = "d02cd94a0437d15552ae788c7fa8f5000e682d8b" } - -[[language]] -name = "pod" -scope = "source.pod" -injection-regex = "pod" -file-types = ["pod"] - -[[grammar]] -name = "pod" -source = { git = "https://github.com/tree-sitter-perl/tree-sitter-pod", rev = "d02cd94a0437d15552ae788c7fa8f5000e682d8b" } - diff --git a/helix/themes/brad.toml b/helix/themes/brad.toml deleted file mode 100644 index 9a6a7b3..0000000 --- a/helix/themes/brad.toml +++ /dev/null @@ -1,138 +0,0 @@ -# Author: Shafkath Shuhan <shafkathshuhannyc@gmail.com> - -"namespace" = { fg = "type" } -"module" = { fg = "type" } - -"type" = { fg = "type" } -"type.builtin" = { fg = "type" } -"type.enum.variant" = { fg = "constant" } -"constructor" = { fg = "type" } -"variable.other.member" = { fg = "variable" } - -"keyword" = { fg = "blue2" } -"keyword.directive" = { fg = "blue2" } -"keyword.control" = { fg = "special" } -"label" = { fg = "blue2" } -"tag" = "blue2" - -"special" = { fg = "text" } -"operator" = { fg = "text" } - -"punctuation" = { fg = "text" } -"punctuation.delimiter" = { fg = "text" } - -"variable" = { fg = "variable" } -"variable.parameter" = { fg = "variable" } -"variable.builtin" = { fg = "blue2" } -"constant" = { fg = "constant" } -"constant.builtin" = { fg = "blue2" } - -"function" = { fg = "fn_declaration" } -"function.builtin" = { fg = "fn_declaration" } -"function.macro" = { fg = "blue2" } -"attribute" = { fg = "fn_declaration" } - -"comment" = { fg = "dark_green" } - -"string" = { fg = "orange" } -"constant.character" = { fg = "orange" } -"string.regexp" = { fg = "gold" } -"constant.numeric" = { fg = "pale_green" } -"constant.character.escape" = { fg = "gold" } - -"markup.heading" = { fg = "blue2", modifiers = ["bold"] } -"markup.list" = "blue3" -"markup.bold" = { fg = "blue2", modifiers = ["bold"] } -"markup.italic" = { modifiers = ["italic"] } -"markup.strikethrough" = { modifiers = ["crossed_out"] } -"markup.link.url" = { modifiers = ["underlined"] } -"markup.link.text" = "orange" -"markup.quote" = "dark_green" -"markup.raw" = "orange" - -"diff.plus" = { fg = "dark_green2" } -"diff.delta" = { fg = "blue4" } -"diff.minus" = { fg = "orange_red" } - -"ui.background" = { fg = "light_gray", bg = "black" } - -"ui.window" = { bg = "widget" } -"ui.popup" = { fg = "text", bg = "widget" } -"ui.help" = { fg = "text", bg = "widget" } -"ui.menu" = { fg = "text", bg = "widget" } -"ui.menu.selected" = { bg = "dark_blue2" } - -# TODO: Alternate bg colour for `ui.cursor.match` and `ui.selection`. -"ui.cursor" = { fg = "cursor", modifiers = ["reversed"] } -"ui.cursor.primary" = { fg = "cursor", modifiers = ["reversed"] } -"ui.cursor.match" = { bg = "#3a3d41", modifiers = ["underlined"] } - -"ui.selection" = { bg = "#3a3d41" } -"ui.selection.primary" = { bg = "dark_blue" } - -"ui.linenr" = { fg = "dark_gray" } -"ui.linenr.selected" = { fg = "light_gray2" } - -"ui.cursorline.primary" = { bg = "dark_gray3" } -"ui.statusline" = { fg = "white", bg = "blue" } -"ui.statusline.inactive" = { fg = "white", bg = "blue" } -"ui.statusline.insert" = { fg = "white", bg = "yellow" } -"ui.statusline.select" = { fg = "white", bg = "magenta" } - -"ui.bufferline" = { fg = "text", bg = "widget" } -"ui.bufferline.active" = { fg = "white", bg = "blue" } -"ui.bufferline.background" = { bg = "background" } - -"ui.text" = { fg = "text" } -"ui.text.focus" = { fg = "white" } - -"ui.virtual.whitespace" = { fg = "dark_gray" } -"ui.virtual.ruler" = { bg = "borders" } -"ui.virtual.indent-guide" = { fg = "dark_gray4" } -"ui.virtual.inlay-hint" = { fg = "white", bg = "#444444" } - -"warning" = { fg = "gold2" } -"error" = { fg = "red" } -"info" = { fg = "light_blue" } -"hint" = { fg = "light_gray3" } - -"diagnostic.error".underline = { color = "red", style = "curl" } -"diagnostic".underline = { color = "gold", style = "curl" } - -[palette] -white = "#ffffff" -orange = "#ce9178" -gold = "#d7ba7d" -gold2 = "#cca700" -pale_green = "#b5cea8" -dark_green = "#6A9955" -dark_green2 = "#487e02" -light_gray = "#d4d4d4" -light_gray2 = "#c6c6c6" -light_gray3 = "#eeeeee" -dark_gray = "#858585" -dark_gray2 = "#1e1e1e" -dark_gray3 = "#282828" -dark_gray4 = "#404040" -black = "#000000" -blue = "#007acc" -blue2 = "#569CD6" -blue3 = "#6796E6" -blue4 = "#1b81a8" -light_blue = "#75beff" -dark_blue = "#264f78" -dark_blue2 = "#094771" -red = "#ff1212" -orange_red = "#f14c4c" - -type = "#4EC9B0" -special = "#C586C0" -variable = "#9CDCFE" -fn_declaration = "#DCDCAA" -constant = "#4FC1FF" - -background = "#1e1e1e" -text = "#d4d4d4" -cursor = "#a6a6a6" -widget = "#252526" -borders = "#323232" diff --git a/infra/git/config b/infra/git/config index 0b40ab1..f39f735 100644 --- a/infra/git/config +++ b/infra/git/config @@ -1,22 +1,23 @@ [core] - repositoryformatversion = 0 + repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true -[remote "github"] - url = git@github.com:bradclawsie/dotfiles-public.git - fetch = +refs/heads/*:refs/remotes/origin/* -[remote "gitlab"] - url = git@gitlab.com:bradclawsie/dotfiles-public.git +[remote "origin"] + url = git@github:bradclawsie/dotfiles-public.git fetch = +refs/heads/*:refs/remotes/origin/* +[remote "github"] + url = git@github:bradclawsie/dotfiles-public.git + fetch = +refs/heads/*:refs/remotes/github/* [remote "sr.ht"] - fetch = +refs/heads/*:refs/remotes/origin/* - url = git@git.sr.ht:~bradclawsie/dotfiles-public + url = git@sr.ht:~bradclawsie/dotfiles-public + fetch = +refs/heads/*:refs/remotes/sr.ht/* [remote "b7j0c"] - url = ssh://b7j0c:/home/brad/bare-repos/dotfiles-public - fetch = +refs/heads/*:refs/remotes/origin/* + url = ssh://b7j0c:/home/brad/bare-repos/dotfiles-public + fetch = +refs/heads/*:refs/remotes/b7j0c/* +[remote "codeberg"] + url = git@codeberg:bradclawsie/dotfiles-public.git + fetch = +refs/heads/*:refs/remotes/codeberg/* [branch "master"] remote = origin merge = refs/heads/master -[pull] - ff = only diff --git a/kitty/kitty.conf b/kitty/kitty.conf deleted file mode 100644 index c1c8bec..0000000 --- a/kitty/kitty.conf +++ /dev/null @@ -1,22 +0,0 @@ -# font -font_family monospace -bold_font auto -italic_font auto -bold_italic_font auto -font_size 26.0 - -# bell -enable_audio_bell no - -# cursor -cursor_blink_interval 0 -cursor_shape block -cursor_beam_thickness 1.5 - -# block cursor -shell_integration no-cursor - -# maxsize -remember_window_size yes - -window_padding_width 5 diff --git a/nspawn/make-grokloc-container.sh b/nspawn/make-grokloc-container.sh index b00fc19..7f5aed4 100755 --- a/nspawn/make-grokloc-container.sh +++ b/nspawn/make-grokloc-container.sh @@ -1 +1 @@ -sudo pacstrap -K -c /var/lib/machines/grokloc aspell aspell-en base base-devel bat cpanminus fish fzf git git-delta gnupg jujutsu just neovim less man-db man-pages openssh pinentry postgresql postgresql-libs readline ripgrep sudo tmux unzip valkey zip +sudo pacstrap -K -c /var/lib/machines/grokloc aspell aspell-en base base-devel bat cpanminus fish fzf git git-delta gnupg just neovim less man-db man-pages openssh pinentry postgresql postgresql-libs readline ripgrep sudo tmux unzip valkey zip diff --git a/raku/justfile b/raku/justfile deleted file mode 100644 index 2ae954f..0000000 --- a/raku/justfile +++ /dev/null @@ -1,29 +0,0 @@ -set shell := ["fish", "-c"] -set dotenv-load - -default: - @just --list - -pkgs: - sudo pacman -S \ - ca-certificates \ - openssl \ - postgresql-libs - -libs: - zef install --/test cro - zef install App::Prove6 - zef install DBIish - zef install Digest - zef install File::Find - zef install File::Temp - zef install HTTP::Easy - zef install JSON::Fast - zef install PSGI - zef install Linenoise - zef install LWP::Simple - zef install OpenSSL - zef install UUID::V4 - -git: - zef -v install https://github.com/rawleyfowler/Humming-Bird.git diff --git a/ssh/sshd_config b/ssh/sshd_config index 47472de..b33e407 100644 --- a/ssh/sshd_config +++ b/ssh/sshd_config @@ -1,4 +1,4 @@ -Port 22 +Port 512 ListenAddress 0.0.0.0 PasswordAuthentication no ChallengeResponseAuthentication no @@ -7,5 +7,4 @@ PermitEmptyPasswords no PubkeyAuthentication yes UsePAM yes Subsystem sftp /usr/lib/ssh/sftp-server -AllowUsers brad grokloc - +AllowUsers brad diff --git a/tarsnap/daily_tarsnap.pl b/tarsnap/daily_tarsnap.pl deleted file mode 100644 index 8b98546..0000000 --- a/tarsnap/daily_tarsnap.pl +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env perl -use v5.36; -use strict; -use DateTime; - -my $dt = DateTime->now(); -$dt->set_time_zone('America/Chicago'); -my $prefix = 'arch_'; -my $prefix_yyyymmdd = $prefix . $dt->ymd(''); -my $prefix_reserve_yyyymmdd = $prefix . $dt->subtract('days'=>1)->ymd(''); -say "today:\t\t" . $prefix_yyyymmdd; -say "yesterday:\t" . $prefix_reserve_yyyymmdd; -my $tarsnap = 'tarsnap --cachedir=/root/tarsnap-cache --keyfile=/root/tarsnap.key'; -my $list_archives = `$tarsnap --list-archives`; -my $backup_paths = '/home/brad/repos /home/brad/.ssh /home/brad/.gnupg /home/brad/.random /home/brad/.passage'; -my $excludes = '--exclude=/home/brad/repos/aur --exclude=target --exclude=/home/brad/perl5'; -chomp($list_archives); -my @archives = split(/\n/,$list_archives); -my $make_yyyymmdd = 1; -my @delete_these = (); -for my $archive (@archives) { - say "list:\t\t" . $archive; - if ($archive eq $prefix_yyyymmdd) { - $make_yyyymmdd = 0; - } -} -my $tarsnap_cmd = ''; -if (1 == $make_yyyymmdd) { - say "make for today"; - my $yyyymmdd_cmd = $tarsnap . ' -c -f ' . $prefix_yyyymmdd . ' ' . $excludes . ' ' . $backup_paths; - say $yyyymmdd_cmd; - $tarsnap_cmd = $yyyymmdd_cmd . ';'; -} -say $tarsnap_cmd; -system($tarsnap_cmd) if ($tarsnap_cmd ne ''); - -1; diff --git a/tarsnap/delete_tarsnap.pl b/tarsnap/delete_tarsnap.pl deleted file mode 100644 index 86f89fa..0000000 --- a/tarsnap/delete_tarsnap.pl +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env perl -use v5.36; -use strict; -use DateTime; - -my $dt = DateTime->now(); -$dt->set_time_zone('America/Chicago'); -my $prefix = 'arch_'; -my $prefix_yyyymmdd = $prefix . $dt->ymd(''); -my $prefix_reserve_yyyymmdd = $prefix . $dt->subtract('days'=>1)->ymd(''); -say "today:\t\t" . $prefix_yyyymmdd; -say "yesterday:\t" . $prefix_reserve_yyyymmdd; -my $tarsnap = 'tarsnap --cachedir /root/tarsnap-cache --keyfile /root/tarsnap.key'; -my $list_archives = `$tarsnap --list-archives`; -chomp($list_archives); -my @archives = split(/\n/,$list_archives); -my $make_yyyymmdd = 1; -my @delete_these = (); -for my $archive (@archives) { - say "list:\t\t" . $archive; - if ($archive eq $prefix_yyyymmdd) { - $make_yyyymmdd = 0; - } else { - if ($archive ne $prefix_reserve_yyyymmdd) { - push(@delete_these,$archive); - } - } -} -my $tarsnap_cmd = ''; -for my $delete_this (@delete_these) { - say "delete $delete_this"; - my $delete_cmd = $tarsnap . ' -d -f ' . $delete_this; - $tarsnap_cmd .= $delete_cmd . ';'; -} -say $tarsnap_cmd; -system($tarsnap_cmd) if ($tarsnap_cmd ne ''); - -1; |
