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