From e0a4b9f9caac97ae5f73b72f95c31ed9d719b7bd Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 3 Apr 2022 14:21:56 -0700 Subject: rename `desktop` to `isDesktop` The variable is used to define the kind of machine we're managing. `isDesktop` is a bit more descriptive. We import `devel` for all machines, and we fine tune which packages we want to install based on the value of `isDesktop`. --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/default.nix b/lib/default.nix index 89aff0a..aa55942 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -33,12 +33,12 @@ { username , system , hostname - , desktop ? false + , isDesktop ? false }: inputs.home-manager.lib.homeManagerConfiguration { inherit username system; extraSpecialArgs = { - inherit system hostname desktop; + inherit system hostname isDesktop; }; homeDirectory = "/home/${username}"; configuration = ../users/${username}; -- cgit 1.4.1