From 0ed9538e44562eefdb53bdfd2bfbe9873fafe893 Mon Sep 17 00:00:00 2001 From: Jade Date: Fri, 20 Jan 2023 15:12:33 +0100 Subject: [PATCH] kitty ssh fix, bitwarden, remote builds --- build-mac-remote.sh | 4 ++++ build-mac.sh | 4 +++- common.nix | 4 ++-- modules/zsh.nix | 2 ++ 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100755 build-mac-remote.sh diff --git a/build-mac-remote.sh b/build-mac-remote.sh new file mode 100755 index 0000000..13c6a15 --- /dev/null +++ b/build-mac-remote.sh @@ -0,0 +1,4 @@ +sudo nixos-rebuild switch --flake . \ + --impure --override-input mac-brcm-fw path:/home/jade/mac-brcm-fw \ + --build-host 192.168.178.119 --no-build-nix + diff --git a/build-mac.sh b/build-mac.sh index 765e0d0..31bbe5a 100755 --- a/build-mac.sh +++ b/build-mac.sh @@ -1 +1,3 @@ -sudo nixos-rebuild switch --flake . --impure --override-input mac-brcm-fw path:/home/jade/mac-brcm-fw --build-host 192.168.178.119 --no-build-nix +sudo nixos-rebuild switch --flake . \ + --impure --override-input mac-brcm-fw path:/home/jade/mac-brcm-fw \ + diff --git a/common.nix b/common.nix index 0bae144..bf05683 100644 --- a/common.nix +++ b/common.nix @@ -158,10 +158,10 @@ users.users.jade = { inkscape-with-extensions virglrenderer ddccontrol-db glab firebird-emu obs-studio kdenlive openal mullvad mullvad-vpn - sl lolcat ifuse + sl lolcat ifuse bitwarden bitwarden-cli fspy spacenav-cube-example cava appimage-run - spacenavd libspnav + spacenavd libspnav fluent-reader #prismlauncher gitg gnome-builder git-crypt gpick qdirstat file whois ffmpeg_5 scribus p7zip file nmap cmatrix tree socat libreoffice diff --git a/modules/zsh.nix b/modules/zsh.nix index 7afa11e..91373e3 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -29,6 +29,8 @@ in with lib; { sudo = "sudo "; v = "nvim"; + s = "kitty +kitten ssh"; + termsize = "echo \"width: $(tput cols)\nheight: $(tput lines)\""; batstate = "echo \"Charge state: $(cat /sys/class/power_supply/BAT0/capacity)%\""; clear = "clear;neofetch";