From bcc73c04c787e891361812c80872757f820ca63b Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 15 Nov 2023 20:19:24 +0800 Subject: [PATCH] machines: identify machines by hostname --- flake.nix | 2 +- .../{machine-1 => Aristotle}/default.nix | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename machines/nixos/81fw-lenovo-legion-y7000/{machine-1 => Aristotle}/default.nix (100%) diff --git a/flake.nix b/flake.nix index 094e54d..db8c33d 100755 --- a/flake.nix +++ b/flake.nix @@ -203,7 +203,7 @@ # Hardware ./machines/nixos/81fw-lenovo-legion-y7000 - ./machines/nixos/81fw-lenovo-legion-y7000/machine-1 + ./machines/nixos/81fw-lenovo-legion-y7000/Aristotle { networking.hostName = "Aristotle"; # Hostname diff --git a/machines/nixos/81fw-lenovo-legion-y7000/machine-1/default.nix b/machines/nixos/81fw-lenovo-legion-y7000/Aristotle/default.nix similarity index 100% rename from machines/nixos/81fw-lenovo-legion-y7000/machine-1/default.nix rename to machines/nixos/81fw-lenovo-legion-y7000/Aristotle/default.nix