Set hostname at entrypoint
This commit is contained in:
parent
4d1817a499
commit
f6c989d9ff
|
@ -3,6 +3,8 @@
|
||||||
device:
|
device:
|
||||||
{ pkgs, options, lib, config, ... }:
|
{ pkgs, options, lib, config, ... }:
|
||||||
{
|
{
|
||||||
|
networking.hostName = device;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
<my/modules/shell/zsh.nix>
|
<my/modules/shell/zsh.nix>
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "aka";
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
<my/modules/shell/zsh.nix>
|
<my/modules/shell/zsh.nix>
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "ao";
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
<my/modules/themes/aquanaut>
|
<my/modules/themes/aquanaut>
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "kuro";
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
theme.wallpaper = <my/assets/wallpapers/aquanaut.2560x1440.jpg>;
|
theme.wallpaper = <my/assets/wallpapers/aquanaut.2560x1440.jpg>;
|
||||||
networking.hostName = "shiro";
|
|
||||||
networking.wireless.enable = true;
|
networking.wireless.enable = true;
|
||||||
|
|
||||||
time.timeZone = "America/Toronto";
|
time.timeZone = "America/Toronto";
|
||||||
|
|
Loading…
Reference in a new issue