Commit 254745ca4a05

Vincent Demeester <vincent@sbr.pm>
2020-06-05 18:03:43
systems/kerkouane: add hostname ๐Ÿ˜…
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 226e361
Changed files (1)
systems/kerkouane.nix
@@ -16,8 +16,6 @@ in
 {
   imports = [
     (sources.nixos + "/nixos/modules/profiles/qemu-guest.nix")
-    #(pkgs + "/nixos/modules/profiles/qemu-guest.nix")
-    #<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
     ../modules
     (import ../users).vincent
     (import ../users).root
@@ -25,6 +23,8 @@ in
   # digitalocean specifics
   ++ optionals hasNetworkingConfig [ networkingConfigPath ];
 
+  networking.hostName = hostname;
+
   boot.loader.grub.device = "/dev/vda";
   fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
   swapDevices = [{ device = "/swapfile"; size = 1024; }];