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
+1 -1
View File
@@ -3,7 +3,7 @@
{
home.packages = with pkgs; [
(mumble.override { pulseSupport = true; })
logseq
#logseq
];
greg = {
gui = true;
+5
View File
@@ -44,6 +44,10 @@ def _cfetch(args):
$CIRCLECI_CLI_TOKEN=$(bw get password CircleCI)
compass workspace exec bazel run src/go/compass.com/tools/circleci_results_cache/fetch/cmd/fetch:fetch
def _aws_creds(args):
$AWS_ACCESS_KEY_ID=$(bw get username "AWS Access Key")
$AWS_SECRET_ACCESS_KEY=$(bw get password "AWS Access Key")
def _rebuild(args):
system = uname()
if system.sysname == 'Darwin':
@@ -92,6 +96,7 @@ def _bake(args):
git clone src:greg/copier-templates.git ~/.copier-templates
copier copy @(str(templates / args[0])) .
aliases['aws_creds'] = _aws_creds
aliases['glrestart'] = _glrestart
aliases['bake'] = _bake
aliases['unlock'] = _unlock
-4
View File
@@ -47,7 +47,6 @@
[
bind # For things like nslookup
create_ssl
darktable
distrobox
expect
gimp
@@ -63,11 +62,8 @@
libxml2
linode-cli
makemkv
nix-du
nix-tree
oathToolkit
synology-drive-client
terraform
usbutils
vagrant
ventoy
-4
View File
@@ -36,13 +36,10 @@ in
# Base packages that need to be in all my hosts
environment.systemPackages = with pkgs; [
agenix
android-file-transfer
bitwarden-cli
bmon
configure_aws_creds
diffutils
git
gh
gnupatch
gregpy
findutils
@@ -54,7 +51,6 @@ in
nano
pciutils
pwgen
transcrypt
unzip
wget
];
+3 -3
View File
@@ -49,9 +49,9 @@ in with lib; {
# Enable some Gnome plugins that I like
environment.systemPackages = with pkgs; [
gnome3.adwaita-icon-theme
gnome3.gnome-tweaks
gnome3.dconf-editor
adwaita-icon-theme
gnome-tweaks
dconf-editor
gnomeExtensions.appindicator
gnomeExtensions.clipboard-indicator
gnomeExtensions.dash-to-dock
-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 {