about summary refs log tree commit diff
path: root/modules/nixos
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-03-19 10:51:20 +0300
committerAzat Bahawi <azat@bahawi.net>2024-03-19 10:51:20 +0300
commit80bdf22e9f97bdbb6d5a720dcc705fb55f3bc299 (patch)
tree92c18febe273f94d488a17d9bfdeeade4f3aaaef /modules/nixos
parent2024-03-17 (diff)
2024-03-19
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/common/stylix.nix9
-rw-r--r--modules/nixos/kde.nix5
2 files changed, 6 insertions, 8 deletions
diff --git a/modules/nixos/common/stylix.nix b/modules/nixos/common/stylix.nix
index 7ac7fa7..5ca5571 100644
--- a/modules/nixos/common/stylix.nix
+++ b/modules/nixos/common/stylix.nix
@@ -17,26 +17,27 @@ with lib; {
   fonts = {
     packages = mkAfter config.nixfiles.modules.common.stylix.fonts.extraPackages;
 
-    fontconfig.defaultFonts = {
+    fontconfig.defaultFonts = with config.stylix.fonts; {
       serif = mkForce [
-        "Iosevka Etoile"
+        serif.name
         "Sarasa Gothic"
         "Source Han Serif"
         "Noto Serif"
       ];
       sansSerif = mkForce [
-        "Iosevka Aile"
+        sansSerif.name
         "Sarasa Gothic"
         "Source Han Sans"
         "Noto Sans"
       ];
       monospace = mkForce [
-        "Iosevka SS15"
+        monospace.name
         "Sarasa Mono"
         "Source Han Mono"
         "Noto Sans Mono"
       ];
       emoji = mkForce [
+        "Twitter Color Emoji"
         "Noto Color Emoji"
       ];
     };
diff --git a/modules/nixos/kde.nix b/modules/nixos/kde.nix
index 0bdf6f9..2f6aa92 100644
--- a/modules/nixos/kde.nix
+++ b/modules/nixos/kde.nix
@@ -45,10 +45,7 @@ in {
 
     services = {
       desktopManager.plasma6.enable = true;
-      xserver.displayManager.sddm = {
-        enable = true;
-        wayland.enable = true;
-      };
+      xserver.displayManager.sddm.enable = true;
     };
 
     environment.plasma6.excludePackages = with pkgs.kdePackages; [

Consider giving Nix/NixOS a try! <3