feat: readd mellinoe to flake

This commit is contained in:
Mohammad Rafiq 2025-04-18 22:07:41 +08:00
parent a753ffeec1
commit 1dafd618e2
No known key found for this signature in database
7 changed files with 28 additions and 17 deletions

View file

@ -1,6 +0,0 @@
{ lib, config, ... }:
{
boot.kernelModules = [ "kvm-amd" ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -1,6 +0,0 @@
{ lib, config, ... }:
{
boot.kernelModules = [ "kvm-intel" ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -38,7 +38,7 @@
case "$1" in
all)
# Create a list of hostnames to rebuild
hosts=("nemesis" "apollo")
hosts=("nemesis" "apollo" "mellinoe")
# Use parallel to rebuild each host
, parallel rebuild ::: "''${hosts[@]}"
@ -52,6 +52,9 @@
fi
;;
*)
echo "=========================="
echo "=== Rebuilding $1 ==="
echo "=========================="
rebuild_remote "$1"
exit 0
;;

View file

@ -1,6 +1,6 @@
# Set default values
flake=".#default" # Default flake attribute if none is provided
target_host="nixos@<hostname>" # Default target host
flake="" # Default flake attribute if none is provided
target_host="" # Default target host
# Process command-line arguments
while [[ $# -gt 0 ]]; do