Ver código fonte

use ansible_hostname for kodi nix hostname

Blaine Story 2 anos atrás
pai
commit
9d299b545c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      roles/kodi-config/templates/configuration.nix.j2

+ 1 - 1
roles/kodi-config/templates/configuration.nix.j2

@@ -15,7 +15,7 @@
   boot.loader.systemd-boot.enable = true; 
 
   # Set hostname
-  networking.hostName = "kodi-nix"; 
+  networking.hostName = "{{ ansible_hostname }}";
 
   # Set time zone.
   time.timeZone = "America/Los_Angeles";