From c289a9b7253bf4f55a0f8d9c850041dcb24ab019 Mon Sep 17 00:00:00 2001 From: kat witch Date: Wed, 28 Apr 2021 04:16:57 +0100 Subject: [PATCH] home: Fixed lack of existence check --- home.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index d130b6ba..d504ccf9 100644 --- a/home.nix +++ b/home.nix @@ -1,6 +1,7 @@ { pkgs, config, lib, ... }: { - imports = [ ./modules/home ./private/profile/home ]; + imports = [ ./modules/home ] + ++ lib.optional (builtins.pathExists (./private/profile/home)) (import ./private/profile/home); }