Add packages
This commit is contained in:
parent
a990105e83
commit
33d2bbc413
1 changed files with 8 additions and 7 deletions
15
home.nix
15
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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue