about summary refs log tree commit diff
path: root/modules/darwin/common
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-03-02 20:30:02 +0300
committerAzat Bahawi <azat@bahawi.net>2024-03-02 20:30:02 +0300
commit482bcef47a3b7ee63553c58d200065857ec42b1c (patch)
treeface7032b62c8957df4a84b2fc0c4adc47020f9e /modules/darwin/common
parent2024-03-01 (diff)
2024-03-02
Diffstat (limited to '')
-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