From 9b10a58de35d9a2076f4a93f6fb63f488b8fb084 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sat, 18 Oct 2025 13:25:22 +0530 Subject: hostname not everywhere --- flake.nix | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index d081fe6..66754e2 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,7 @@ config.allowUnfree = true; }; in { - nixosConfigurations.${hostname} = nixpkgs.lib.nixosSystem { + nixosConfigurations.main = nixpkgs.lib.nixosSystem { inherit system; specialArgs = { inherit inputs username hostname unstable; }; diff --git a/install.sh b/install.sh index 6589333..9e46ee3 100755 --- a/install.sh +++ b/install.sh @@ -12,4 +12,4 @@ sudo cp -r hardware-configuration.nix /etc/nixos sudo nixos-generate-config --show-hardware-config > hardware-configuration.nix -sudo nixos-rebuild switch --flake .#pegasus +sudo nixos-rebuild switch --flake .#main -- cgit v1.2.3