about summary refs log tree commit diff
path: root/modules/darwin/profiles
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/darwin/profiles/default.nix16
-rw-r--r--modules/darwin/profiles/headful.nix12
2 files changed, 15 insertions, 13 deletions
diff --git a/modules/darwin/profiles/default.nix b/modules/darwin/profiles/default.nix
index c18f2bb..9a3353f 100644
--- a/modules/darwin/profiles/default.nix
+++ b/modules/darwin/profiles/default.nix
@@ -4,21 +4,21 @@
   pkgs,
   ...
 }:
-with lib; let
+with lib;
+let
   cfg = config.nixfiles.modules.profiles.default;
-in {
-  imports = [
-    ./headful.nix
-  ];
+in
+{
+  imports = [ ./headful.nix ];
 
   config = mkIf cfg.enable {
-    hm.home.packages = with pkgs; [m-cli];
+    hm.home.packages = with pkgs; [ m-cli ];
 
     system = {
       defaults = {
-        CustomUserPreferences = {};
+        CustomUserPreferences = { };
 
-        ActivityMonitor = {};
+        ActivityMonitor = { };
 
         NSGlobalDomain = {
           AppleEnableMouseSwipeNavigateWithScrolls = true;
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"; }
     ];
   };
 }

Consider giving Nix/NixOS a try! <3