| author | |
| committer | |
| log | 3d450c6f3d1d516a0c07f146debb5bd73d6c9e36 |
| tree | 7ebecd1fdeba2ddb94631d96123ba22caab91c4d |
| parent | 4e0a082cfa9ce13e6bfe45fa93565226667b82fa |
3 files changed, 10 insertions(+), 8 deletions(-)
switch+5-4| ... | @@ -1,16 +1,17 @@ | ... | @@ -1,16 +1,17 @@ |
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | set -e | ||
| 3 | cd "$(dirname "$0")" | ||
| 2 | nh_subcommand="os" | 4 | nh_subcommand="os" |
| 3 | fallback_command="nixos-rebuild" | 5 | fallback_command="nixos-rebuild" |
| 4 | hostname_file="$(dirname "$0")/.hostname" | ||
| 5 | if [ -n "$1" ]; then | 6 | if [ -n "$1" ]; then |
| 6 | hostname="$1" | 7 | hostname="$1" |
| 7 | elif [ -f "$hostname_file" ]; then | 8 | elif [ -f ".hostname" ]; then |
| 8 | hostname=$(cat "$hostname_file") | 9 | hostname=$(cat .hostname) |
| 9 | fi | 10 | fi |
| 10 | if [ -z "$hostname" ]; then | 11 | if [ -z "$hostname" ]; then |
| 11 | hostname="$(hostname)" | 12 | hostname="$(hostname)" |
| 12 | fi | 13 | fi |
| 13 | printf "%s" "$hostname" >"$hostname_file" | 14 | printf "%s" "$hostname" >.hostname |
| 14 | if [ "$(uname -o)" = "Darwin" ]; then | 15 | if [ "$(uname -o)" = "Darwin" ]; then |
| 15 | nh_subcommand="darwin" | 16 | nh_subcommand="darwin" |
| 16 | fallback_command="nix run .#darwin-rebuild" | 17 | fallback_command="nix run .#darwin-rebuild" |
users/clover/home.nix+3-2| ... | @@ -48,9 +48,10 @@ in | ... | @@ -48,9 +48,10 @@ in |
| 48 | settings = { | 48 | settings = { |
| 49 | theme = "light:Farmhouse Light,dark:Challenger Deep"; | 49 | theme = "light:Farmhouse Light,dark:Challenger Deep"; |
| 50 | font-family = "AT Name Mono"; | 50 | font-family = "AT Name Mono"; |
| 51 | adjust-cursor-thickness = 1; | 51 | adjust-cursor-thickness = 2; |
| 52 | background-opacity = 0.9; | 52 | background-opacity = 0.95; |
| 53 | background-blur = true; | 53 | background-blur = true; |
| 54 | unfocused-split-opacity = 1; | ||
| 54 | }; | 55 | }; |
| 55 | }; | 56 | }; |
| 56 | 57 |
users/clover/work/home.nix+2-2| ... | @@ -10,10 +10,10 @@ | ... | @@ -10,10 +10,10 @@ |
| 10 | }; | 10 | }; |
| 11 | home.packages = with pkgs; [ | 11 | home.packages = with pkgs; [ |
| 12 | (bun.overrideAttrs (_: rec { | 12 | (bun.overrideAttrs (_: rec { |
| 13 | version = "1.1.17"; | 13 | version = "1.2.23"; |
| 14 | src = fetchurl { | 14 | src = fetchurl { |
| 15 | url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; | 15 | url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; |
| 16 | hash = "sha256-aULgRZ9evcGUhKJ6slLJOg3IEzUeNfIkJF8RDP3YUlo="; | 16 | hash = "sha256-IvX6P/9ysNO45+D4BR7K3y5Bkg1HSsYttSeRRICckAU="; |
| 17 | }; | 17 | }; |
| 18 | })) | 18 | })) |
| 19 | doppler | 19 | doppler |