mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
autogenerate hostId
This commit is contained in:
parent
1d7f360a45
commit
135afae0d8
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@
|
|||
|
||||
zramSwap.enable = true;
|
||||
|
||||
networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
|
||||
|
||||
hardware = {
|
||||
cpu.amd.updateMicrocode = true;
|
||||
cpu.intel.updateMicrocode = true;
|
||||
|
|
Loading…
Reference in a new issue