general upgrades and adds adb and ulauncher addon

This commit is contained in:
2024-11-21 16:52:06 +01:00
parent c0ab3d1517
commit 0b523463f2
13 changed files with 58 additions and 47 deletions

8
bin/actions/upgrade.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
source $HOME/dotfiles/bin/helpers/functions.sh
printfe "%s\n" "cyan" "Upgrading NixOS packages..."
cd $HOME/dotfiles/config/nixos && sudo nixos-rebuild switch --upgrade --flake .#$DOTF_HOSTNAME --impure
printfe "%s\n" "cyan" "Upgrading Home Manager packages..."
cd $HOME/dotfiles/config/home-manager && NIXPKGS_ALLOW_UNFREE=1 home-manager switch -b backup --flake .#$DOTF_HOSTNAME --impure