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
|
fuzzel
|
||||||
hyfetch
|
hyfetch
|
||||||
btop
|
btop
|
||||||
|
gnupg
|
||||||
|
|
||||||
vlc
|
vlc
|
||||||
];
|
];
|
||||||
nixosOnlyPackages = with pkgs; [
|
nixosOnlyPackages = with pkgs; [
|
||||||
|
@ -34,9 +36,12 @@ let
|
||||||
# Other GUI Applications
|
# Other GUI Applications
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
vscode
|
vscode
|
||||||
|
google-chrome
|
||||||
jetbrains-toolbox
|
jetbrains-toolbox
|
||||||
|
libreoffice-qt6-fresh
|
||||||
|
|
||||||
jadx
|
unstable.android-studio
|
||||||
|
unstable.jadx
|
||||||
];
|
];
|
||||||
otherOnlyPackages = with pkgs; [
|
otherOnlyPackages = with pkgs; [
|
||||||
helix
|
helix
|
||||||
|
@ -71,11 +76,7 @@ in
|
||||||
# The home.packages option allows you to install Nix packages into your
|
# The home.packages option allows you to install Nix packages into your
|
||||||
# environment.
|
# environment.
|
||||||
home.packages = if (builtins.pathExists /etc/NIXOS) then
|
home.packages = if (builtins.pathExists /etc/NIXOS) then
|
||||||
(basicPackages) ++ (nixosOnlyPackages) ++ (with pkgs; [
|
(basicPackages) ++ (nixosOnlyPackages)
|
||||||
# Unstable packages here
|
|
||||||
unstable.android-studio
|
|
||||||
])
|
|
||||||
|
|
||||||
else (basicPackages) ++ (otherOnlyPackages);
|
else (basicPackages) ++ (otherOnlyPackages);
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
|
@ -117,7 +118,7 @@ in
|
||||||
vi = "hx";
|
vi = "hx";
|
||||||
vim = "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-update = "home-manager switch";
|
||||||
home-edit = "hx ~/.config/home-manager";
|
home-edit = "hx ~/.config/home-manager";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue