From 810430338f107e98ea0a1f1bca87e8866d5d9060 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Sun, 20 Oct 2024 00:14:45 -0500 Subject: [PATCH] Move around some packages to make Xonsh sense Move installed packages directly adjacent to Xonsh that are used in its footer. That way the two concerns are kept in lock step more easily --- home/modules/baseline/xonsh.nix | 11 ++++++++++- home/modules/baseline/xonsh_footer.xsh | 6 ------ modules/baseline.nix | 2 -- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/home/modules/baseline/xonsh.nix b/home/modules/baseline/xonsh.nix index efa29d4..66f5c53 100644 --- a/home/modules/baseline/xonsh.nix +++ b/home/modules/baseline/xonsh.nix @@ -1,6 +1,16 @@ { pkgs, config, ... }: { + # Programs that are used in the settings file + home.packages = with pkgs; [ + bitwarden-cli + copier + git + gnused + nix-output-monitor + nvd + ]; + programs.xonsh = { enable = true; @@ -49,7 +59,6 @@ gh-personal = "$GH_CONFIG_DIR=\"${config.home.homeDirectory}/.config/gh/personal\" gh"; ls = "ls --color"; ll = "ls -l --color"; - tf = "terraform"; # Tailscale related ones tsup = "sudo tailscale up"; diff --git a/home/modules/baseline/xonsh_footer.xsh b/home/modules/baseline/xonsh_footer.xsh index 59fb022..1867181 100644 --- a/home/modules/baseline/xonsh_footer.xsh +++ b/home/modules/baseline/xonsh_footer.xsh @@ -46,12 +46,6 @@ def _glrestart(args): sudo nixos-container run gitlab -- systemctl restart nginx aliases['glrestart'] = _glrestart -def _cfetch(args): - bw_unlock() - $CIRCLECI_CLI_TOKEN=$(bw get password CircleCI) - compass workspace exec bazel run src/go/compass.com/tools/circleci_results_cache/fetch/cmd/fetch:fetch -aliases['cfetch'] = _cfetch - def _aws_creds(args): $AWS_ACCESS_KEY_ID=$(bw get username "AWS Access Key") $AWS_SECRET_ACCESS_KEY=$(bw get password "AWS Access Key") diff --git a/modules/baseline.nix b/modules/baseline.nix index af765f2..12c0cd8 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -99,8 +99,6 @@ in iperf killall nano - nix-output-monitor - nvd pciutils pwgen unzip