From b72274ab06b4c160fc8d3afe8e2d67863c893a58 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 3 Apr 2022 15:12:16 -0700 Subject: home-manager: add `isTrusted` Install and configure some programs only on trusted machines. On trusted machines, my mails, GPG and a few other things are configured. A machine where this is not needed on a regular basis to get things done don't need that much information. Also rename `desktop/trust` to `trusted`, in case we want these packages on a host that is not a desktop, and `trusted` is a better description. --- lib/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/default.nix b/lib/default.nix index aa55942..bb1c30f 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -34,11 +34,12 @@ , system , hostname , isDesktop ? false + , isTrusted ? false }: inputs.home-manager.lib.homeManagerConfiguration { inherit username system; extraSpecialArgs = { - inherit system hostname isDesktop; + inherit system hostname isDesktop isTrusted; }; homeDirectory = "/home/${username}"; configuration = ../users/${username}; -- cgit 1.4.1