about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-03-21 01:21:24 +0300
committerAzat Bahawi <azat@bahawi.net>2023-03-21 01:21:24 +0300
commit6f8d6d19b3fdf39d4f9aa418aab7a981071106f7 (patch)
tree1137ca463f067ef84cd184224db01336bd61f030 /modules
parent2023-03-20 (diff)
2023-03-21
Diffstat (limited to 'modules')
-rw-r--r--modules/common/profiles/headful.nix2
-rw-r--r--modules/nixos/kde.nix29
2 files changed, 13 insertions, 18 deletions
diff --git a/modules/common/profiles/headful.nix b/modules/common/profiles/headful.nix
index fe9c794..ea36b91 100644
--- a/modules/common/profiles/headful.nix
+++ b/modules/common/profiles/headful.nix
@@ -39,7 +39,7 @@ in {
           sd
         ];
 
-        sessionVariables.LOKI_ADDR = "https://loki.${config.networking.domain}";
+        sessionVariables.LOKI_ADDR = "https://loki.shire.net";
       };
 
       accounts.email = {
diff --git a/modules/nixos/kde.nix b/modules/nixos/kde.nix
index a430294..17fcf03 100644
--- a/modules/nixos/kde.nix
+++ b/modules/nixos/kde.nix
@@ -26,24 +26,19 @@ in {
     };
 
     services.xserver = {
-      desktopManager.plasma5 = {
-        enable = true;
-        excludePackages = with pkgs.plasma5Packages; [
-          elisa
-          gwenview
-          khelpcenter
-          okular
-          print-manager
-        ];
-      };
-      displayManager = {
-        sddm.enable = true;
-
-        # NOTE https://github.com/NixOS/nixpkgs/pull/199881
-        setupCommands = lib.mkForce "";
-      };
+      desktopManager.plasma5.enable = true;
+      displayManager.sddm.enable = true;
     };
 
-    environment.systemPackages = with pkgs; [pinentry-qt];
+    environment = {
+      systemPackages = with pkgs; [pinentry-qt];
+      plasma5.excludePackages = with pkgs.plasma5Packages; [
+        elisa
+        gwenview
+        khelpcenter
+        okular
+        print-manager
+      ];
+    };
   };
 }

Consider giving Nix/NixOS a try! <3