diff --git a/modules/home/linux-headless.nix b/modules/home/linux-headless.nix index 634dcfa..eaef5e9 100644 --- a/modules/home/linux-headless.nix +++ b/modules/home/linux-headless.nix @@ -1,8 +1,8 @@ -{ primaryUser, ... }: +{ lib, primaryUser, ... }: { imports = [ ./common.nix ]; - home.homeDirectory = "/home/${primaryUser}"; + home.homeDirectory = lib.mkDefault "/home/${primaryUser}"; } diff --git a/modules/home/mac-portable.nix b/modules/home/mac-portable.nix index a9aff78..68b51c5 100644 --- a/modules/home/mac-portable.nix +++ b/modules/home/mac-portable.nix @@ -1,10 +1,15 @@ -{ pkgs, primaryUser, ... }: +{ + pkgs, + lib, + primaryUser, + ... +}: { imports = [ ./common.nix ]; - home.homeDirectory = "/Users/${primaryUser}"; + home.homeDirectory = lib.mkDefault "/Users/${primaryUser}"; home.packages = with pkgs; [ secretive