Files
nixos-config/apps/x86_64-linux/build
Christoph Schmatzler 56eb83f0da up
2025-08-11 14:24:47 +02:00

15 lines
363 B
Bash
Executable File

#!/bin/sh -e
GREEN='\033[1;32m'
YELLOW='\033[1;33m'
RED='\033[1;31m'
NC='\033[0m'
HOSTNAME="tahani"
export NIXPKGS_ALLOW_UNFREE=1
echo "${YELLOW}Starting build...${NC}"
nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."tahani".config.system.build.toplevel' --no-link $@
echo "${GREEN}Build complete!${NC}"