Update Home

This commit is contained in:
kagura 2024-11-23 18:06:57 +08:00
parent 277e390a43
commit 3f4e534592

View file

@ -20,6 +20,7 @@ let
hyfetch hyfetch
btop btop
gnupg gnupg
tmux
vlc vlc
fuzzel fuzzel
@ -33,6 +34,8 @@ let
pkg-config pkg-config
openssl openssl
zlib zlib
cargo-binutils
yarn
# Other GUI Applications # Other GUI Applications
telegram-desktop telegram-desktop
@ -41,6 +44,8 @@ let
jetbrains-toolbox jetbrains-toolbox
libreoffice-qt6-fresh libreoffice-qt6-fresh
vlc vlc
steam
remmina
# LateX # LateX
texlive.combined.scheme-full texlive.combined.scheme-full
@ -65,7 +70,7 @@ in
# You should not change this value, even if you update Home Manager. If you do # You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager # want to update the value, then make sure to first check the Home Manager
# release notes. # release notes.
home.stateVersion = "24.05"; # Please read the comment before changing. home.stateVersion = "24.11"; # Please read the comment before changing.
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
@ -124,7 +129,11 @@ in
vi = "hx"; vi = "hx";
vim = "hx"; vim = "hx";
nixos-update = "cp -r ~/nixos-config ~/.nixos-config.bak; cd /etc/nixos; sudo nix flake update; sudo nixos-rebuild switch --flake ."; nixos-update = "
rsync -av --progress ~/nixos-config ~/.nixos-config.bak --exclude .git;
cd ~/nixos-config;
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";
}; };