From eba19f822a546035bc8cd568554f4f198ad2b3a7 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 9 Jun 2024 13:04:26 +0300 Subject: fix(tazjin/nixos): default to shared home config If a system doesn't have an overridden home config, just use the shared one. Change-Id: I6a61f02ec49bfbf0057be7e6481847ee053e7fda Reviewed-on: https://cl.tvl.fyi/c/depot/+/11766 Tested-by: BuildkiteCI Autosubmit: tazjin Reviewed-by: tazjin --- users/tazjin/nixos/modules/home-config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'users/tazjin/nixos/modules') diff --git a/users/tazjin/nixos/modules/home-config.nix b/users/tazjin/nixos/modules/home-config.nix index bda8f7a44014..8e85847b746c 100644 --- a/users/tazjin/nixos/modules/home-config.nix +++ b/users/tazjin/nixos/modules/home-config.nix @@ -15,5 +15,6 @@ nix.settings.trusted-users = [ "tazjin" ]; home-manager.useGlobalPkgs = true; - home-manager.users.tazjin = depot.users.tazjin.home."${config.networking.hostName}"; + home-manager.users.tazjin = with depot.users.tazjin; + home."${config.networking.hostName}" or home.shared; } -- cgit 1.4.1