fix pi4 hostname
This commit is contained in:
@@ -23,6 +23,7 @@ in
|
|||||||
|
|
||||||
${namespace} = {
|
${namespace} = {
|
||||||
hardware.disko.enable = true;
|
hardware.disko.enable = true;
|
||||||
|
network.hostName = "pi4";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure nixpkgs
|
# Configure nixpkgs
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ in
|
|||||||
{
|
{
|
||||||
# Networking configs
|
# Networking configs
|
||||||
networking = {
|
networking = {
|
||||||
hostName = hostname;
|
# hostName = lib.mkForce hostname;
|
||||||
|
|
||||||
defaultGateway.address = "10.0.1.1";
|
defaultGateway.address = "10.0.1.1";
|
||||||
nameservers = [ "10.0.1.1" ];
|
nameservers = [ "10.0.1.1" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user