From c9240424b01ab9f124445cabfd46aeb2121b6040 Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Tue, 31 Oct 2023 20:39:14 +0100 Subject: [PATCH] removed the c2vi from my hostnames --- flake.nix | 6 ++++-- hosts/hpm.nix | 2 ++ hosts/main.nix | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 9d36489..d52c45c 100644 --- a/flake.nix +++ b/flake.nix @@ -37,7 +37,8 @@ { nixosConfigurations = rec { - "c2vi-main" = nixpkgs.lib.nixosSystem { + "main" = nixpkgs.lib.nixosSystem { + inherit specialArgs; system = "x86_64-linux"; specialArgs = { inherit inputs confDir workDir secretsDir persistentDir self; }; @@ -47,7 +48,8 @@ ]; }; - "c2vi-hpm" = nixpkgs.lib.nixosSystem { + "hpm" = nixpkgs.lib.nixosSystem { + inherit specialArgs; system = "x86_64-linux"; specialArgs = { inherit inputs confDir workDir secretsDir persistentDir self; }; diff --git a/hosts/hpm.nix b/hosts/hpm.nix index fe797be..2c5dbf4 100644 --- a/hosts/hpm.nix +++ b/hosts/hpm.nix @@ -7,5 +7,7 @@ ../users/me/default.nix ]; + + networking.hostName = "hpm"; } diff --git a/hosts/main.nix b/hosts/main.nix index c0e8b08..e3ed56c 100644 --- a/hosts/main.nix +++ b/hosts/main.nix @@ -20,7 +20,7 @@ ]; - networking.hostName = "c2vi-main"; # Define your hostname. + networking.hostName = "main"; # some bind mounts