From e6e49ad73c7d8cbd9f6622f0a3330ce7b71c8a86 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 2 Sep 2020 22:37:21 +0200 Subject: [PATCH] home-environment: coerce `home.homeDirectory` to string The home directory option should be a string without context to avoid the directory being copied to the Nix store. Fixes #1471 --- modules/home-environment.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 209df4ff..29474339 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -196,6 +196,7 @@ in "$HOME" for state version < 20.09, undefined for state version ≥ 20.09 ''; + apply = toString; example = "/home/jane.doe"; description = "The user's home directory. Must be an absolute path."; };