change hostname
This commit is contained in:
parent
1d17a5221e
commit
e06f108f1b
|
@ -17,7 +17,7 @@
|
|||
restic
|
||||
]);
|
||||
|
||||
networking.hostName = "vault";
|
||||
networking.hostName = "vault-arm";
|
||||
|
||||
home-manager.users.root.home.stateVersion = "23.05";
|
||||
system.stateVersion = "23.05";
|
||||
|
|
|
@ -44,14 +44,13 @@ in {
|
|||
|
||||
boot.kernelParams =
|
||||
[
|
||||
"console=tty"
|
||||
"console=tty0"
|
||||
"ip=${serverIPs.ipv4}::${gateway}:${netmask}:${hostName}:enp1s0:any"
|
||||
"boot.shell_on_fail"
|
||||
"nohibernate"
|
||||
"loglevel=4"
|
||||
]
|
||||
++ (lib.optionals (system == "aarch64-linux") ["console=ttyAMA0,115200" "console=ttyS0,115200"]);
|
||||
++ (lib.optionals (system == "aarch64-linux") ["console=tty" "console=ttyAMA0,115200" "console=ttyS0,115200"]);
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue