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,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
|
|
@ -9,6 +7,7 @@
|
||||||
dots,
|
dots,
|
||||||
user,
|
user,
|
||||||
hm,
|
hm,
|
||||||
|
host,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# You can import other NixOS modules here
|
# You can import other NixOS modules here
|
||||||
|
|
@ -31,7 +30,6 @@
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "pickwick";
|
|
||||||
time.timeZone = "America/Chicago";
|
time.timeZone = "America/Chicago";
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
system,
|
system,
|
||||||
|
host,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -34,6 +35,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# networking
|
# networking
|
||||||
|
networking.hostName = host;
|
||||||
networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
|
networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue