refactor: notebook configration
This commit is contained in:
parent
0df4a4c1ec
commit
d4438c8585
37 changed files with 212 additions and 418 deletions
17
hosts/nb/modules/desktop/bitwarden.nix
Normal file
17
hosts/nb/modules/desktop/bitwarden.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
bitwarden
|
||||
bitwarden-cli
|
||||
];
|
||||
|
||||
environment.shellAliases = {
|
||||
bw-epicenter = "BITWARDENCLI_APPDATA_DIR=~/.config/bitwarden-cli-epicenter ${pkgs.bitwarden-cli}/bin/bw";
|
||||
bw-cloonar = "BITWARDENCLI_APPDATA_DIR=~/.config/bitwarden-cli-cloonar ${pkgs.bitwarden-cli}/bin/bw";
|
||||
};
|
||||
|
||||
environment.shellInit = ''
|
||||
mkdir -p ~/.config/bitwarden-cli-epicenter ~/.config/bitwarden-cli-cloonar
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue