From 3f4e534592a567925ddddcf12ee0056b2eb2a593 Mon Sep 17 00:00:00 2001 From: kagura Date: Sat, 23 Nov 2024 18:06:57 +0800 Subject: [PATCH] Update Home --- home.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/home.nix b/home.nix index 8f78287..8403db8 100644 --- a/home.nix +++ b/home.nix @@ -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"; };