diff --git a/README.org b/README.org index d6f1c40..e000525 100644 --- a/README.org +++ b/README.org @@ -351,15 +351,18 @@ networking.wireless.networks.MyWiFi_5C1870.pskRaw = "409b3c85fef1c5737f284d2f82f20dc6023e41804e862d4fa26265ef8193b326"; #+END_SRC -It's helpful to add the machine hostnames to the networking configuration, so I can refer to another host across the network by name: +It's helpful to add the machine hostnames to the networking configuration, so I can refer to another host across the network by name. Some devices that can have more than one IP (WIFI / Ethernet) will have the wireless hostname suffixed: #+NAME: host-config-home #+BEGIN_SRC nix networking.hosts = { "192.168.3.105" = [ "gamingpc" ]; # "" = [ "acernitro" ]; + # "" = [ "acernitro_" ]; "192.168.3.182" = [ "raspberry" ]; + "192.168.3.123" = [ "raspberry_" ]; # "" = [ "homecloud" ]; + # "" = [ "homecloud_" ]; # "" = [ "zero-one" ]; # "" = [ "zero-two" ]; # "" = [ "android" ]; @@ -612,18 +615,6 @@ raspberry = nixpkgs.lib.nixosSystem { <> <> <> - # inputs.home-manager.nixosModules.home-manager { - # home-manager.useGlobalPkgs = true; - # home-manager.useUserPackages = true; - # home-manager.users.chris = { - # imports = [ - # <> - # <> - # <> - # <> - # ]; - # }; - # } ]; }; #+END_SRC diff --git a/flake.nix b/flake.nix index e770112..ca331bb 100644 --- a/flake.nix +++ b/flake.nix @@ -86,18 +86,6 @@ ]; }; } - # inputs.home-manager.nixosModules.home-manager { - # home-manager.useGlobalPkgs = true; - # home-manager.useUserPackages = true; - # home-manager.users.chris = { - # imports = [ - # ./modules/git.nix - # ./modules/gpg.nix - # ./modules/vim.nix - # ./modules/gtk.nix - # ]; - # }; - # } ]; }; homecloud = nixpkgs.lib.nixosSystem { diff --git a/hosts/acernitro/configuration.nix b/hosts/acernitro/configuration.nix index 22da613..de4e28a 100644 --- a/hosts/acernitro/configuration.nix +++ b/hosts/acernitro/configuration.nix @@ -17,8 +17,11 @@ networking.hosts = { "192.168.3.105" = [ "gamingpc" ]; # "" = [ "acernitro" ]; + # "" = [ "acernitro_" ]; "192.168.3.182" = [ "raspberry" ]; + "192.168.3.123" = [ "raspberry_" ]; # "" = [ "homecloud" ]; + # "" = [ "homecloud_" ]; # "" = [ "zero-one" ]; # "" = [ "zero-two" ]; # "" = [ "android" ]; diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index bdf54e3..54d2d30 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -12,8 +12,11 @@ networking.hosts = { "192.168.3.105" = [ "gamingpc" ]; # "" = [ "acernitro" ]; + # "" = [ "acernitro_" ]; "192.168.3.182" = [ "raspberry" ]; + "192.168.3.123" = [ "raspberry_" ]; # "" = [ "homecloud" ]; + # "" = [ "homecloud_" ]; # "" = [ "zero-one" ]; # "" = [ "zero-two" ]; # "" = [ "android" ]; diff --git a/hosts/raspberry/configuration.nix b/hosts/raspberry/configuration.nix index 0751792..c3c3fde 100644 --- a/hosts/raspberry/configuration.nix +++ b/hosts/raspberry/configuration.nix @@ -11,8 +11,11 @@ networking.hosts = { "192.168.3.105" = [ "gamingpc" ]; # "" = [ "acernitro" ]; + # "" = [ "acernitro_" ]; "192.168.3.182" = [ "raspberry" ]; + "192.168.3.123" = [ "raspberry_" ]; # "" = [ "homecloud" ]; + # "" = [ "homecloud_" ]; # "" = [ "zero-one" ]; # "" = [ "zero-two" ]; # "" = [ "android" ];