about summary refs log tree commit diff
path: root/modules/darwin/common
diff options
context:
space:
mode:
Diffstat (limited to 'modules/darwin/common')
-rw-r--r--modules/darwin/common/default.nix1
-rw-r--r--modules/darwin/common/stylix.nix11
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/darwin/common/default.nix b/modules/darwin/common/default.nix
index 4d4824f..04f7b29 100644
--- a/modules/darwin/common/default.nix
+++ b/modules/darwin/common/default.nix
@@ -6,6 +6,7 @@ _: {
     ./nix.nix
     ./secrets.nix
     ./shell.nix
+    ./stylix.nix
     ./users.nix
     ./xdg.nix
   ];
diff --git a/modules/darwin/common/stylix.nix b/modules/darwin/common/stylix.nix
new file mode 100644
index 0000000..b5bb119
--- /dev/null
+++ b/modules/darwin/common/stylix.nix
@@ -0,0 +1,11 @@
+{
+  config,
+  inputs,
+  lib,
+  ...
+}:
+with lib; {
+  imports = [inputs.stylix.darwinModules.stylix];
+
+  fonts.fonts = mkAfter config.modules.common.stylix.fonts.extraPackages;
+}

Consider giving Nix/NixOS a try! <3