diff --git a/home/home_packages.nix b/home/home_packages.nix index 2af851b..cc0f838 100644 --- a/home/home_packages.nix +++ b/home/home_packages.nix @@ -15,6 +15,11 @@ let chromium_stackfield = pkgs.writeShellScriptBin "chromium_stackfield" '' ${lib.getExe pkgs.ungoogled-chromium} --socket=wayland org.chromium.Chromium --app=https://stackfield.com/ ''; + nixy_switch = pkgs.writeShellScriptBin "nixy_switch" '' + ${pkgs.util-linux}/bin/ionice -c 3 -- \ + ${pkgs.coreutils}/bin/nice -n 20 -- \ + ${lib.getExe pkgs.nixos-rebuild} --flake ./#nixy switch + ''; qcad = pkgs.writeShellScriptBin "qcad" '' QT_QPA_PLATFORM=xcb ${lib.getExe pkgs.qcad} $@ ''; @@ -131,7 +136,6 @@ in screen seer sioyek - skypeforlinux slurp steam-run stm32cubemx @@ -166,9 +170,10 @@ in chromium_discord chromium_stackfield chromium_teams + nixy_switch + qcad ssh_proxy wrap_sh - qcad ] ++ [ inputs.swaysw.packages.${system}.swaysw