From 930a11d009715c2309793135543daa36e0896199 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 2 Sep 2021 12:42:02 -0400 Subject: feat(gs/system): Conditionally add private.nix I have some secret stuff here (not security-secret, just secret that I'm installing it in my system) so this has to be conditionally included Change-Id: Idb12e5bbab507ad3dc5eb610199fd384789c0e20 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3491 Tested-by: BuildkiteCI Reviewed-by: grfn --- users/grfn/system/home/machines/yeren.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'users/grfn/system') diff --git a/users/grfn/system/home/machines/yeren.nix b/users/grfn/system/home/machines/yeren.nix index 38bab0299525..cb36c89736c5 100644 --- a/users/grfn/system/home/machines/yeren.nix +++ b/users/grfn/system/home/machines/yeren.nix @@ -1,6 +1,7 @@ { pkgs, lib, config, ... }: let + inherit (builtins) pathExists; laptopKeyboardId = "5"; in @@ -9,7 +10,7 @@ in ../platforms/linux.nix ../modules/common.nix ../modules/development/readyset.nix - ]; + ] ++ (lib.optional (pathExists ../modules/private.nix) ../modules/private.nix); # for when hacking programs.home-manager.enable = true; -- cgit 1.4.1