fix the hostname
This commit is contained in:
parent
9c6cd2b903
commit
2daee86b6a
2 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,3 @@
|
|||
# This is your system's configuration file.
|
||||
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
|
|
@ -9,6 +7,7 @@
|
|||
dots,
|
||||
user,
|
||||
hm,
|
||||
host,
|
||||
...
|
||||
}: {
|
||||
# You can import other NixOS modules here
|
||||
|
|
@ -31,7 +30,6 @@
|
|||
bluetooth.enable = true;
|
||||
};
|
||||
|
||||
networking.hostName = "pickwick";
|
||||
time.timeZone = "America/Chicago";
|
||||
|
||||
users.users = {
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
system,
|
||||
host,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
|
|
@ -34,6 +35,7 @@
|
|||
};
|
||||
|
||||
# networking
|
||||
networking.hostName = host;
|
||||
networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue