From 9a5427e3a0c0ccf2a82dc503149a26b23fbd6004 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 31 Mar 2024 21:29:27 +0300 Subject: 2024-03-31 --- modules/darwin/profiles/headful.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'modules/darwin/profiles/headful.nix') diff --git a/modules/darwin/profiles/headful.nix b/modules/darwin/profiles/headful.nix index 826e45a..023386b 100644 --- a/modules/darwin/profiles/headful.nix +++ b/modules/darwin/profiles/headful.nix @@ -4,9 +4,11 @@ pkgs, ... }: -with lib; let +with lib; +let cfg = config.nixfiles.modules.profiles.headful; -in { +in +{ config = mkIf cfg.enable { nixfiles.modules.homebrew.enable = true; @@ -23,9 +25,9 @@ in { ]; homebrew.casks = [ - {name = "firefox";} - {name = "iterm2";} - {name = "telegram-desktop";} + { name = "firefox"; } + { name = "iterm2"; } + { name = "telegram-desktop"; } ]; }; } -- cgit 1.4.1