From 8110a073bb28f40dad1ae442127e2acebf000008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 14 Feb 2023 11:15:51 +0100 Subject: nixos/desktop: add light to the laptops --- nixos/modules/desktop.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/modules') diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index bca265d..6f0777d 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -157,6 +157,7 @@ in { vim.package = pkgs.vimHugeX; shellrc.desktop = true; firefox.enable = true; + light.enable = mkIf cnf.laptop true; }; xdg.portal = { enable = true; -- cgit v1.2.3