diff --git a/fish/functions/paths.fish b/fish/functions/paths.fish index 6cde53f..e310c09 100644 --- a/fish/functions/paths.fish +++ b/fish/functions/paths.fish @@ -3,4 +3,3 @@ function paths echo "Adding $new_path to PATH" set -U fish_user_paths $new_path $fish_user_paths end - diff --git a/fish/functions/t.fish b/fish/functions/t.fish index 6397ab5..9d29f73 100644 --- a/fish/functions/t.fish +++ b/fish/functions/t.fish @@ -1,4 +1,3 @@ function t cd (mktemp -d /tmp/$1.XXXX) end - diff --git a/flake.nix b/flake.nix index 7d27df7..20d0b35 100644 --- a/flake.nix +++ b/flake.nix @@ -351,13 +351,17 @@ hooks = { check-merge-conflicts.enable = true; check-json.enable = true; - deadnix.enable = true; - end-of-file-fixer.enable = true; + end-of-file-fixer = { + enable = true; + excludes = [ "^secrets/" ]; + }; nixfmt.enable = true; nil.enable = true; luacheck.enable = true; - statix.enable = true; - trailing-whitespace-fixer.enable = true; + trim-trailing-whitespace = { + enable = true; + excludes = [ "^secrets/" ]; + }; }; }; }); diff --git a/host-specific/misaki/dnscontrol-porkbun-retry.patch b/host-specific/misaki/dnscontrol-porkbun-retry.patch index b261819..047c5d0 100644 --- a/host-specific/misaki/dnscontrol-porkbun-retry.patch +++ b/host-specific/misaki/dnscontrol-porkbun-retry.patch @@ -15,5 +15,5 @@ index ab777c46..b867a172 100644 + + printer.Debugf("Porkbun API response code %d, waiting for %s until next attempt\n", response.StatusCode, f.Delay) }) - + if c.maxDuration > 0 { diff --git a/host-specific/misaki/services.nix b/host-specific/misaki/services.nix index 3cf2e06..db4d45e 100644 --- a/host-specific/misaki/services.nix +++ b/host-specific/misaki/services.nix @@ -1283,7 +1283,7 @@ in proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $server_addr; proxy_set_header Referer $server_addr; - proxy_set_header Origin $server_addr; + proxy_set_header Origin $server_addr; # Plex has A LOT of javascript, xml and html. This helps a lot, but if it causes playback issues with devices turn it off. gzip on; diff --git a/modules/home/core.nix b/modules/home/core.nix index 894d706..de2872e 100644 --- a/modules/home/core.nix +++ b/modules/home/core.nix @@ -91,7 +91,13 @@ in user.name = "Noah Pederson"; user.email = "noah@packetlost.dev"; ui = { - diff-formatter = [ "difft" "--color" "always" "$left" "$right" ]; + diff-formatter = [ + "difft" + "--color" + "always" + "$left" + "$right" + ]; conflict-marker-style = "git"; default-command = "log"; }; diff --git a/nvim/lua/.luarc.json b/nvim/lua/.luarc.json index 23b9ee2..841ada9 100644 --- a/nvim/lua/.luarc.json +++ b/nvim/lua/.luarc.json @@ -1,3 +1,3 @@ { "workspace.checkThirdParty": false -} \ No newline at end of file +} diff --git a/opencode/AGENTS.md b/opencode/AGENTS.md index ceba241..8d25450 100644 --- a/opencode/AGENTS.md +++ b/opencode/AGENTS.md @@ -37,12 +37,12 @@ When you write a commit message, follow these 7 rules: 2. Limit the subject line to 50 characters (72 is the absolute hard limit). 3. Capitalize the first letter of the subject line. 4. Do not end the subject line with a period. -5. Use the imperative mood in the subject line (e.g., "Fix bug," "Add feature," +5. Use the imperative mood in the subject line (e.g., "Fix bug," "Add feature," not "Fixed" or "Adds"). Test formula: It must complete the sentence: "If applied, this commit will [your subject line here]". 6. Wrap the body text manually at 72 characters to prevent Git formatting issues. 7. Use the body to explain what and why vs. how. Assume the code explains the how; - the message must explain the context and reasoning. + the message must explain the context and reasoning. If the prompt indicates that a bug is being fixed, don't write the fix right away. First write the test. Observe it failing. Then write the fix. And observe the test passing. @@ -54,4 +54,3 @@ condition before command. Simple tenses only — no present perfect, no -ing ver should/would/may/might. Active voice. One word per meaning — no synonym rotation. No contractions, keep articles and "that". Delete filler: simply, robust, seamlessly, leverage. Code and identifiers stay exact - diff --git a/scripts/resolve.rcsh b/scripts/resolve.rcsh index f1bf586..466ff63 100755 --- a/scripts/resolve.rcsh +++ b/scripts/resolve.rcsh @@ -28,4 +28,3 @@ for (file in $conflicted) { git add $file } } - diff --git a/sway/config b/sway/config index bbce4ba..d713614 100644 --- a/sway/config +++ b/sway/config @@ -32,7 +32,7 @@ exec sh -c "if [ 2 -lt $(swaymsg -t get_outputs -r | jq '. | length') ]; then sw ### Output configuration # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg #799A91 solid_color +output * bg #799A91 solid_color # # Example configuration: # @@ -236,7 +236,7 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle -bindsym XF86MonBrightnessDown exec brightnessctl set 5%- +bindsym XF86MonBrightnessDown exec brightnessctl set 5%- bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ bindsym XF86AudioPlay exec playerctl play-pause bindsym XF86AudioPause exec playerctl play-pause