aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-10-18 13:25:22 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-10-18 13:25:22 +0530
commit9b10a58de35d9a2076f4a93f6fb63f488b8fb084 (patch)
tree6749a74204d7ed9c6ee5da716545417f35863ff5
parent66d33061f91df1bbcc608979d430251fda7209b2 (diff)
hostname not everywhere
-rw-r--r--flake.nix2
-rwxr-xr-xinstall.sh2
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