From 1ddbc20daca8014c598a8255d1ab40b3be80766d Mon Sep 17 00:00:00 2001 From: Roger Qiu Date: Sun, 22 Nov 2015 01:03:16 +1100 Subject: Change the preset networking.hostId to use `mkDefault` so it can be easily changed by the user later --- nixos/modules/profiles/base.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/profiles/base.nix') diff --git a/nixos/modules/profiles/base.nix b/nixos/modules/profiles/base.nix index 9aa0034783f..b8057cadce2 100644 --- a/nixos/modules/profiles/base.nix +++ b/nixos/modules/profiles/base.nix @@ -1,7 +1,7 @@ # This module defines the software packages included in the "minimal" # installation CD. It might be useful elsewhere. -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { # Include some utilities that are useful for installing or repairing @@ -50,5 +50,5 @@ boot.supportedFilesystems = [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "zfs" "ntfs" "cifs" ]; # Configure host id for ZFS to work - networking.hostId = "8425e349"; + networking.hostId = lib.mkDefault "8425e349"; } -- cgit 1.4.1