Clean up the building

This commit is contained in:
Greg Hellings
2024-07-31 22:56:37 -05:00
parent 607d472455
commit 38519c9512
7 changed files with 9 additions and 25 deletions
-12
View File
@@ -1,12 +0,0 @@
{ pkgs, ... }:
let
bw = "${pkgs.bitwarden-cli}/bin/bw";
in pkgs.writeShellScriptBin "configure_aws_creds" ''
set -ex -o pipefail
session="$(${bw} unlock | grep -e '$ export' | awk -F\" '{print $2}')"
export BW_SESSION="''${session}"
export AWS_ACCESS_KEY_ID="$(${bw} get username "AWS Access Key")"
export AWS_SECRET_ACCESS_KEY="$(${bw} get password "AWS Access Key")"
''
-1
View File
@@ -45,7 +45,6 @@ in rec {
# My own packages
aacs = prev.callPackage ./aacs.nix {};
configure_aws_creds = prev.callPackage ./configure_aws_creds.nix {};
create_ssl = prev.callPackage ./create_ssl.nix {};
enwiki-dump = prev.callPackage ./enwiki-dump.nix {};
hms = prev.callPackage ./hms {