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
btop
gnupg
tmux
vlc
fuzzel
@ -33,6 +34,8 @@ let
pkg-config
openssl
zlib
cargo-binutils
yarn
# Other GUI Applications
telegram-desktop
@ -41,6 +44,8 @@ let
jetbrains-toolbox
libreoffice-qt6-fresh
vlc
steam
remmina
# LateX
texlive.combined.scheme-full
@ -65,7 +70,7 @@ in
# 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
# release notes.
home.stateVersion = "24.05"; # Please read the comment before changing.
home.stateVersion = "24.11"; # Please read the comment before changing.
nixpkgs.config = {
allowUnfree = true;
@ -124,7 +129,11 @@ in
vi = "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-edit = "hx ~/.config/home-manager";
};