diff --git a/home.nix b/home.nix index e09cab5..5578755 100644 --- a/home.nix +++ b/home.nix @@ -19,6 +19,8 @@ let fuzzel hyfetch btop + gnupg + vlc ]; nixosOnlyPackages = with pkgs; [ @@ -34,9 +36,12 @@ let # Other GUI Applications telegram-desktop vscode + google-chrome jetbrains-toolbox + libreoffice-qt6-fresh - jadx + unstable.android-studio + unstable.jadx ]; otherOnlyPackages = with pkgs; [ helix @@ -71,11 +76,7 @@ in # The home.packages option allows you to install Nix packages into your # environment. home.packages = if (builtins.pathExists /etc/NIXOS) then - (basicPackages) ++ (nixosOnlyPackages) ++ (with pkgs; [ - # Unstable packages here - unstable.android-studio - ]) - + (basicPackages) ++ (nixosOnlyPackages) else (basicPackages) ++ (otherOnlyPackages); # Home Manager is pretty good at managing dotfiles. The primary way to manage @@ -117,7 +118,7 @@ in vi = "hx"; vim = "hx"; - nixos-update = "cd /etc/nixos; sudo nix flake update; sudo nixos-rebuild switch --flake ."; + nixos-update = "cp -r ~/nixos-config ~/.nixos-config.bak; cd /etc/nixos; sudo nix flake update; sudo nixos-rebuild switch --flake ."; home-update = "home-manager switch"; home-edit = "hx ~/.config/home-manager"; };