Removed bitwarden-cli package and replaced it with brew formulae
This commit is contained in:
parent
18a88f7391
commit
7a7fe6e792
@ -14,6 +14,7 @@
|
|||||||
onActivation.cleanup = "zap";
|
onActivation.cleanup = "zap";
|
||||||
brews = [
|
brews = [
|
||||||
"wireguard-tools"
|
"wireguard-tools"
|
||||||
|
"bitwarden-cli"
|
||||||
"coreutils"
|
"coreutils"
|
||||||
"watch"
|
"watch"
|
||||||
];
|
];
|
||||||
@ -21,6 +22,7 @@
|
|||||||
"scroll-reverser"
|
"scroll-reverser"
|
||||||
"google-chrome"
|
"google-chrome"
|
||||||
"instantview"
|
"instantview"
|
||||||
|
"bitwarden"
|
||||||
"tailscale"
|
"tailscale"
|
||||||
"discord"
|
"discord"
|
||||||
"iterm2"
|
"iterm2"
|
||||||
@ -106,6 +108,8 @@
|
|||||||
|
|
||||||
# Full Screen Window
|
# Full Screen Window
|
||||||
cmd - f : yabai -m window --toggle zoom-fullscreen
|
cmd - f : yabai -m window --toggle zoom-fullscreen
|
||||||
|
ctrl - f : osascript -e 'tell application "System Events" to set frontApp to name of first application process whose frontmost is true' \
|
||||||
|
-e 'tell application "System Events" to tell process frontApp to click menu item "Find…" of menu 1 of menu item "Find" of menu "Edit" of menu bar item "Edit" of menu bar 1'
|
||||||
|
|
||||||
# Close window with i3 keybinding
|
# Close window with i3 keybinding
|
||||||
cmd - q : yabai -m window --close
|
cmd - q : yabai -m window --close
|
||||||
|
@ -1,18 +1,9 @@
|
|||||||
{ pkgs, lib, config, ... }:
|
{ ... }: {
|
||||||
let
|
|
||||||
mypkgs = import ../packages/all-packages.nix {
|
|
||||||
inherit pkgs lib config;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
home = {
|
home = {
|
||||||
username = "jadenmaxwell";
|
username = "jadenmaxwell";
|
||||||
homeDirectory = "/Users/jadenmaxwell";
|
homeDirectory = "/Users/jadenmaxwell";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with mypkgs; [
|
|
||||||
bitwarden-cli-bin
|
|
||||||
];
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./shared.nix
|
./shared.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ pkgs, lib, config, ... }: rec {
|
{ pkgs, lib, config, ... }: rec {
|
||||||
tpm = pkgs.callPackage ./tpm {};
|
tpm = pkgs.callPackage ./tpm {};
|
||||||
evil-winrm = pkgs.callPackage ./evil-winrm {};
|
evil-winrm = pkgs.callPackage ./evil-winrm {};
|
||||||
bitwarden-cli-bin = pkgs.callPackage ./bitwarden-cli-bin {};
|
|
||||||
}
|
}
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
{ lib, stdenv, fetchzip }: stdenv.mkDerivation rec {
|
|
||||||
|
|
||||||
pname = "bitwarden-cli-bin";
|
|
||||||
version = "2024.8.2";
|
|
||||||
|
|
||||||
src = fetchzip {
|
|
||||||
url = "https://github.com/bitwarden/clients/releases/download/cli-v${version}/bw-macos-${version}.zip";
|
|
||||||
hash = "sha256-obJVIJ2n5lEXsjn7RQ+lIraHnBcn4vsU6LaAV4NPBSU=";
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
dontStrip = true;
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp -rv $src/bw $out/bin/bw
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Secure and free password manager for all of your devices";
|
|
||||||
homepage = "https://bitwarden.com";
|
|
||||||
license = lib.licenses.gpl3Only;
|
|
||||||
mainProgram = "bw";
|
|
||||||
platforms = platforms.darwin;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user