diff --git a/switch b/switch index bf5697d655d9362730c9db9854db34b7950154fc..04af03eb5978615a646d5094da65c81dc95f7d60 100755 --- a/switch +++ b/switch @@ -1,16 +1,17 @@ #!/bin/sh +set -e +cd "$(dirname "$0")" nh_subcommand="os" fallback_command="nixos-rebuild" -hostname_file="$(dirname "$0")/.hostname" if [ -n "$1" ]; then hostname="$1" -elif [ -f "$hostname_file" ]; then - hostname=$(cat "$hostname_file") +elif [ -f ".hostname" ]; then + hostname=$(cat .hostname) fi if [ -z "$hostname" ]; then hostname="$(hostname)" fi -printf "%s" "$hostname" >"$hostname_file" +printf "%s" "$hostname" >.hostname if [ "$(uname -o)" = "Darwin" ]; then nh_subcommand="darwin" fallback_command="nix run .#darwin-rebuild" diff --git a/users/clover/home.nix b/users/clover/home.nix index bf3d6838a0719a93f9c88a12d087b6345d6b36cd..5158945a91c454f9c5d31521ec2062e4db2066b8 100644 --- a/users/clover/home.nix +++ b/users/clover/home.nix @@ -48,9 +48,10 @@ in settings = { theme = "light:Farmhouse Light,dark:Challenger Deep"; font-family = "AT Name Mono"; - adjust-cursor-thickness = 1; - background-opacity = 0.9; + adjust-cursor-thickness = 2; + background-opacity = 0.95; background-blur = true; + unfocused-split-opacity = 1; }; }; diff --git a/users/clover/work/home.nix b/users/clover/work/home.nix index a5fb595349707f6b857c0e40e4208e08ccdeb756..f1f78f8ac0aaef5a8242939fa6e8f0cfb032132e 100644 --- a/users/clover/work/home.nix +++ b/users/clover/work/home.nix @@ -10,10 +10,10 @@ }; home.packages = with pkgs; [ (bun.overrideAttrs (_: rec { - version = "1.1.17"; + version = "1.2.23"; src = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; - hash = "sha256-aULgRZ9evcGUhKJ6slLJOg3IEzUeNfIkJF8RDP3YUlo="; + hash = "sha256-IvX6P/9ysNO45+D4BR7K3y5Bkg1HSsYttSeRRICckAU="; }; })) doppler