diff --git a/flake.nix b/flake.nix index 2454b8a..8539962 100644 --- a/flake.nix +++ b/flake.nix @@ -61,7 +61,7 @@ nixosConfigurations = { #Personal laptop, thinkpad t490 athame = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs outputs;}; + specialArgs = {inherit inputs outputs; hostname = "athame";}; modules = [ # > Our main nixos configuration file < ./nixos/kde-desktop.nix @@ -70,7 +70,7 @@ }; #Work laptop, dell g15. Nvidia gpu metatron = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs outputs;}; + specialArgs = {inherit inputs outputs; hostname = "metatron";}; modules = [ # > Our main nixos configuration file < ./nixos/kde-desktop.nix diff --git a/nixos/configuration.nix b/nixos/configuration.nix index c8b7600..fbb1e3d 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -74,7 +74,7 @@ # FIXME: Add the rest of your current configuration # TODO: Set your hostname - networking.hostName = "your-hostname"; + networking.hostName = inputs.hostname; # TODO: This is just an example, be sure to use whatever bootloader you prefer boot.loader.systemd-boot.enable = true;