home: Fixed lack of existence check

This commit is contained in:
kat witch 2021-04-28 04:16:57 +01:00
parent c08eb94ca0
commit c289a9b725
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -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);
}