From 2aad6d0145c816d5e9d6666d4b0de94317e6a89f Mon Sep 17 00:00:00 2001 From: joy Date: Wed, 3 Jul 2024 15:53:12 +0200 Subject: [PATCH] clean --- home/zsh/pc-laptop.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/zsh/pc-laptop.sh b/home/zsh/pc-laptop.sh index 4e65379..059bab2 100755 --- a/home/zsh/pc-laptop.sh +++ b/home/zsh/pc-laptop.sh @@ -3,8 +3,10 @@ hostname=$(hostname) if [[ $hostname == *"pc"* ]]; then + echo "This machine is identified as a Desktop PC." sudo nixos-rebuild switch --flake ~/nix/#pc elif [[ $hostname == *"laptop"* ]]; then + echo "This machine is identified as a Laptop." sudo nixos-rebuild switch --flake ~/nix/#laptop else echo "Unable to determine the type of machine."