Move hostname config
This commit is contained in:
parent
7c04159aa9
commit
13e52cb27e
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
hostname,
|
||||||
user,
|
user,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
@ -48,6 +49,9 @@ with lib;
|
||||||
# Enable networking.
|
# Enable networking.
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
# Set hostname
|
||||||
|
networking.hostName = hostname;
|
||||||
|
|
||||||
# Define a user account.
|
# Define a user account.
|
||||||
users.users.${user} = {
|
users.users.${user} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue