summary refs log tree commit diff
path: root/nixos/modules/profiles/base.nix
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2015-11-25 21:31:09 +0100
committerLuca Bruno <lethalman88@gmail.com>2015-11-25 21:37:30 +0100
commita41292792498e03024d682d092947c2153290073 (patch)
treeb937402b60ea79cfa0e5562dad3268127a491d81 /nixos/modules/profiles/base.nix
parent8a664fd5bc6b170bdf809030de6871fd6a454f5a (diff)
parentb34a6c96ee14518b82648c5a8c1b29225c15d9df (diff)
downloadnixpkgs-a41292792498e03024d682d092947c2153290073.tar
nixpkgs-a41292792498e03024d682d092947c2153290073.tar.gz
nixpkgs-a41292792498e03024d682d092947c2153290073.tar.bz2
nixpkgs-a41292792498e03024d682d092947c2153290073.tar.lz
nixpkgs-a41292792498e03024d682d092947c2153290073.tar.xz
nixpkgs-a41292792498e03024d682d092947c2153290073.tar.zst
nixpkgs-a41292792498e03024d682d092947c2153290073.zip
Merge remote-tracking branch 'origin/master' into closure-size
Diffstat (limited to 'nixos/modules/profiles/base.nix')
-rw-r--r--nixos/modules/profiles/base.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/profiles/base.nix b/nixos/modules/profiles/base.nix
index 79324f83646..20a1f7f1ed8 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";
 }