From e109b48cf648e59587bd2631944998995ffd9f27 Mon Sep 17 00:00:00 2001 From: autumn-the-kitty-cat <147276465+autumn-the-kitty-cat@users.noreply.github.com> Date: Mon, 17 Nov 2025 23:01:23 -0500 Subject: [PATCH] refactor: hostName variable in flake.nix --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 5a2f29b..0c1ede4 100644 --- a/flake.nix +++ b/flake.nix @@ -35,11 +35,15 @@ inherit system; config.allowUnfree = true; }; + hostName = "january"; in { - nixosConfigurations."nixos" = inputs.nixpkgs.lib.nixosSystem { + nixosConfigurations.${hostName} = inputs.nixpkgs.lib.nixosSystem { inherit system; inherit pkgs; + specialArgs = { + inherit hostName; + }; modules = [ ./nixos/configuration.nix