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,
|
||||
lib,
|
||||
hostname,
|
||||
user,
|
||||
...
|
||||
}:
|
||||
|
@ -48,6 +49,9 @@ with lib;
|
|||
# Enable networking.
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# Set hostname
|
||||
networking.hostName = hostname;
|
||||
|
||||
# Define a user account.
|
||||
users.users.${user} = {
|
||||
isNormalUser = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue