From c0b7cadd8194e937f49818d9caf9fbc9084b117f Mon Sep 17 00:00:00 2001 From: Benedikt Rips Date: Thu, 2 Jul 2026 13:14:41 +0200 Subject: [PATCH] home: remove redundant non-emptiness assertion The option type `path` checks that the path starts with a slash, hence it can not be empty. --- modules/home-environment.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index bf1f47436..5fd05ab06 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -583,10 +583,6 @@ in assertion = config.home.username != ""; message = "Username could not be determined"; } - { - assertion = config.home.homeDirectory != ""; - message = "Home directory could not be determined"; - } ]; warnings =