Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
2025-08-27 06:30:46 +00:00
parent a0510ff701
commit b99400b77d
9 changed files with 73 additions and 22 deletions

View File

@@ -16,6 +16,14 @@ print_success() {
echo -e "${GREEN}✅${NC} $1"
}
print_error() {
echo -e "${RED}❌${NC} $1"
}
print_warning() {
echo -e "${YELLOW}⚡${NC} $1"
}
HOSTNAME="${1:-tahani}"
print_info "Applying configuration for $HOSTNAME"

View File

@@ -16,6 +16,14 @@ print_success() {
echo -e "${GREEN}✅${NC} $1"
}
print_error() {
echo -e "${RED}❌${NC} $1"
}
print_warning() {
echo -e "${YELLOW}⚡${NC} $1"
}
HOSTNAME="${1:-tahani}"
print_info "Building configuration for $HOSTNAME"

View File

@@ -24,7 +24,7 @@ print_warning() {
echo -e "${YELLOW}⚡${NC} $1"
}
print_info "Available system generations:"
print_info "Available generations:"
if [[ "$EUID" -ne 0 ]]; then
sudo nix-env --profile /nix/var/nix/profiles/system --list-generations
else